public class BuildInfoContributor extends InfoPropertiesInfoContributor<org.springframework.boot.info.BuildProperties>
InfoContributor that exposes BuildProperties.InfoPropertiesInfoContributor.Mode| Constructor and Description |
|---|
BuildInfoContributor(org.springframework.boot.info.BuildProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
contribute(Info.Builder builder)
Contributes additional details using the specified
Builder. |
protected void |
postProcessContent(java.util.Map<java.lang.String,java.lang.Object> content)
Post-process the content to expose.
|
protected org.springframework.core.env.PropertySource<?> |
toSimplePropertySource()
Return a
PropertySource for the SIMPLE mode. |
copyIfSet, extractContent, generateContent, getMode, getNestedMap, getProperties, replaceValue, toPropertySourcepublic BuildInfoContributor(org.springframework.boot.info.BuildProperties properties)
public void contribute(Info.Builder builder)
InfoContributorBuilder.builder - the builder to useprotected org.springframework.core.env.PropertySource<?> toSimplePropertySource()
InfoPropertiesInfoContributorPropertySource for the SIMPLE mode.toSimplePropertySource in class InfoPropertiesInfoContributor<org.springframework.boot.info.BuildProperties>InfoPropertiesInfoContributor.toPropertySource()protected void postProcessContent(java.util.Map<java.lang.String,java.lang.Object> content)
InfoPropertiesInfoContributorpostProcessContent in class InfoPropertiesInfoContributor<org.springframework.boot.info.BuildProperties>content - the content to expose