Package io.github.jhipster.config.info
Class JHipsterInfoContributorConfiguration
- java.lang.Object
-
- io.github.jhipster.config.info.JHipsterInfoContributorConfiguration
-
@Configuration @AutoConfigureAfter(org.springframework.boot.actuate.autoconfigure.info.InfoContributorAutoConfiguration.class) @ConditionalOnClass(org.springframework.boot.actuate.info.InfoContributor.class) public class JHipsterInfoContributorConfiguration extends Object
JHipster auto-configuration for customInfoContributors.
-
-
Constructor Summary
Constructors Constructor Description JHipsterInfoContributorConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveProfilesInfoContributoractiveProfilesInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)activeProfilesInfoContributor.
-
-
-
Method Detail
-
activeProfilesInfoContributor
@Bean @ConditionalOnEnabledInfoContributor("active-profiles") public ActiveProfilesInfoContributor activeProfilesInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)activeProfilesInfoContributor.
- Parameters:
environment- aConfigurableEnvironmentobject.- Returns:
- a
ActiveProfilesInfoContributorobject.
-
-