Class InfoContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.info.InfoContributorAutoConfiguration
@AutoConfiguration(after=ProjectInfoAutoConfiguration.class)
@EnableConfigurationProperties({InfoContributorProperties.class,SslHealthIndicatorProperties.class})
public class InfoContributorAutoConfiguration
extends Object
Auto-configuration
for standard
InfoContributor
s.- Since:
- 2.0.0
- Author:
- Meang Akira Tanaka, Stephane Nicoll, Jonatan Ivanov
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The default order for the coreInfoContributor
beans. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildInfoContributor
(BuildProperties buildProperties) envInfoContributor
(ConfigurableEnvironment environment) gitInfoContributor
(GitProperties gitProperties, InfoContributorProperties infoContributorProperties)
-
Field Details
-
DEFAULT_ORDER
public static final int DEFAULT_ORDERThe default order for the coreInfoContributor
beans.- See Also:
-
-
Constructor Details
-
InfoContributorAutoConfiguration
public InfoContributorAutoConfiguration()
-
-
Method Details
-
envInfoContributor
@Bean @ConditionalOnEnabledInfoContributor(value="env", fallback=DISABLE) @Order(-2147483638) public EnvironmentInfoContributor envInfoContributor(ConfigurableEnvironment environment) -
gitInfoContributor
@Bean @ConditionalOnEnabledInfoContributor("git") @ConditionalOnSingleCandidate(GitProperties.class) @ConditionalOnMissingBean @Order(-2147483638) public GitInfoContributor gitInfoContributor(GitProperties gitProperties, InfoContributorProperties infoContributorProperties) -
buildInfoContributor
@Bean @ConditionalOnEnabledInfoContributor("build") @ConditionalOnSingleCandidate(BuildProperties.class) @Order(-2147483638) public InfoContributor buildInfoContributor(BuildProperties buildProperties) -
javaInfoContributor
@Bean @ConditionalOnEnabledInfoContributor(value="java", fallback=DISABLE) @Order(-2147483638) public JavaInfoContributor javaInfoContributor() -
osInfoContributor
@Bean @ConditionalOnEnabledInfoContributor(value="os", fallback=DISABLE) @Order(-2147483638) public OsInfoContributor osInfoContributor() -
processInfoContributor
@Bean @ConditionalOnEnabledInfoContributor(value="process", fallback=DISABLE) @Order(-2147483638) public ProcessInfoContributor processInfoContributor()
-