Class BuildInfoContributor
java.lang.Object
org.springframework.boot.actuate.info.InfoPropertiesInfoContributor<BuildProperties>
org.springframework.boot.actuate.info.BuildInfoContributor
- All Implemented Interfaces:
- InfoContributor
@ImportRuntimeHints(org.springframework.boot.actuate.info.BuildInfoContributor.BuildInfoContributorRuntimeHints.class)
public class BuildInfoContributor
extends InfoPropertiesInfoContributor<BuildProperties>
An 
InfoContributor that exposes BuildProperties.- Since:
- 1.4.0
- Author:
- Stephane Nicoll
- 
Nested Class SummaryNested classes/interfaces inherited from class InfoPropertiesInfoContributorInfoPropertiesInfoContributor.Mode
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcontribute(Info.Builder builder) Contributes additional details using the specifiedBuilder.protected voidpostProcessContent(Map<String, Object> content) Post-process the content to expose.protected PropertySource<?> Return aPropertySourcefor theSIMPLEmode.Methods inherited from class InfoPropertiesInfoContributorcopyIfSet, extractContent, generateContent, getMode, getNestedMap, getProperties, replaceValue, toPropertySource
- 
Constructor Details- 
BuildInfoContributor
 
- 
- 
Method Details- 
contributeDescription copied from interface:InfoContributorContributes additional details using the specifiedBuilder.- Parameters:
- builder- the builder to use
 
- 
toSimplePropertySourceDescription copied from class:InfoPropertiesInfoContributorReturn aPropertySourcefor theSIMPLEmode.- Specified by:
- toSimplePropertySourcein class- InfoPropertiesInfoContributor<BuildProperties>
- Returns:
- the property source for the simple model
- See Also:
 
- 
postProcessContentDescription copied from class:InfoPropertiesInfoContributorPost-process the content to expose. Elements can be added, changed or removed.- Overrides:
- postProcessContentin class- InfoPropertiesInfoContributor<BuildProperties>
- Parameters:
- content- the content to expose
 
 
-