@Configuration @AutoConfigureAfter(value=org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration.class) @EnableConfigurationProperties(value=InfoContributorProperties.class) public class InfoContributorAutoConfiguration extends Object
Auto-configuration for standard
InfoContributors.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ORDER
The default order for the core
InfoContributor beans. |
| Constructor and Description |
|---|
InfoContributorAutoConfiguration(InfoContributorProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
InfoContributor |
buildInfoContributor(org.springframework.boot.info.BuildProperties buildProperties) |
EnvironmentInfoContributor |
envInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment) |
GitInfoContributor |
gitInfoContributor(org.springframework.boot.info.GitProperties gitProperties) |
public static final int DEFAULT_ORDER
InfoContributor beans.public InfoContributorAutoConfiguration(InfoContributorProperties properties)
@Bean @ConditionalOnEnabledInfoContributor(value="env") @Order(value=-2147483638) public EnvironmentInfoContributor envInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)
@Bean @ConditionalOnEnabledInfoContributor(value="git") @ConditionalOnSingleCandidate(value=org.springframework.boot.info.GitProperties.class) @ConditionalOnMissingBean @Order(value=-2147483638) public GitInfoContributor gitInfoContributor(org.springframework.boot.info.GitProperties gitProperties)
@Bean @ConditionalOnEnabledInfoContributor(value="build") @ConditionalOnSingleCandidate(value=org.springframework.boot.info.BuildProperties.class) @Order(value=-2147483638) public InfoContributor buildInfoContributor(org.springframework.boot.info.BuildProperties buildProperties)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.