@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=ProjectInfoAutoConfiguration.class) @EnableConfigurationProperties(value=InfoContributorProperties.class) public class InfoContributorAutoConfiguration extends Object
Auto-configuration
for standard
InfoContributor
s.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER
The default order for the core
InfoContributor beans. |
Constructor and Description |
---|
InfoContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
InfoContributor |
buildInfoContributor(BuildProperties buildProperties) |
EnvironmentInfoContributor |
envInfoContributor(ConfigurableEnvironment environment) |
GitInfoContributor |
gitInfoContributor(GitProperties gitProperties,
InfoContributorProperties infoContributorProperties) |
JavaInfoContributor |
javaInfoContributor() |
OsInfoContributor |
osInfoContributor() |
public static final int DEFAULT_ORDER
InfoContributor
beans.@Bean @ConditionalOnEnabledInfoContributor(value="env", fallback=DISABLE) @Order(value=-2147483638) public EnvironmentInfoContributor envInfoContributor(ConfigurableEnvironment environment)
@Bean @ConditionalOnEnabledInfoContributor(value="git") @ConditionalOnSingleCandidate(value=GitProperties.class) @ConditionalOnMissingBean @Order(value=-2147483638) public GitInfoContributor gitInfoContributor(GitProperties gitProperties, InfoContributorProperties infoContributorProperties)
@Bean @ConditionalOnEnabledInfoContributor(value="build") @ConditionalOnSingleCandidate(value=BuildProperties.class) @Order(value=-2147483638) public InfoContributor buildInfoContributor(BuildProperties buildProperties)
@Bean @ConditionalOnEnabledInfoContributor(value="java", fallback=DISABLE) @Order(value=-2147483638) public JavaInfoContributor javaInfoContributor()
@Bean @ConditionalOnEnabledInfoContributor(value="os", fallback=DISABLE) @Order(value=-2147483638) public OsInfoContributor osInfoContributor()