public class GitInfoContributor extends InfoPropertiesInfoContributor<GitProperties>
InfoContributor that exposes GitProperties.InfoPropertiesInfoContributor.Mode| Constructor and Description |
|---|
GitInfoContributor(GitProperties properties) |
GitInfoContributor(GitProperties properties,
InfoPropertiesInfoContributor.Mode mode) |
| 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 GitInfoContributor(GitProperties properties)
public GitInfoContributor(GitProperties properties, InfoPropertiesInfoContributor.Mode mode)
public void contribute(Info.Builder builder)
InfoContributorBuilder.builder - the builder to useprotected PropertySource<?> toSimplePropertySource()
InfoPropertiesInfoContributorPropertySource for the SIMPLE mode.toSimplePropertySource in class InfoPropertiesInfoContributor<GitProperties>InfoPropertiesInfoContributor.toPropertySource()protected void postProcessContent(Map<String,Object> content)
Instant instances.postProcessContent in class InfoPropertiesInfoContributor<GitProperties>content - the content to exposeCopyright © 2018 Pivotal Software, Inc.. All rights reserved.