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, toPropertySource
public BuildInfoContributor(BuildProperties properties)
public void contribute(Info.Builder builder)
InfoContributor
Builder
.builder
- the builder to useprotected PropertySource<?> toSimplePropertySource()
InfoPropertiesInfoContributor
PropertySource
for the SIMPLE
mode.toSimplePropertySource
in class InfoPropertiesInfoContributor<BuildProperties>
InfoPropertiesInfoContributor.toPropertySource()
protected void postProcessContent(Map<String,Object> content)
InfoPropertiesInfoContributor
postProcessContent
in class InfoPropertiesInfoContributor<BuildProperties>
content
- the content to exposeCopyright © 2021 Pivotal Software, Inc.. All rights reserved.