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