Class EnvironmentInfoContributor
java.lang.Object
org.springframework.boot.actuate.info.EnvironmentInfoContributor
- All Implemented Interfaces:
InfoContributor
An
InfoContributor that provides all environment entries prefixed with info.- Since:
- 1.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontribute(Info.Builder builder) Contributes additional details using the specifiedBuilder.
-
Constructor Details
-
EnvironmentInfoContributor
public EnvironmentInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)
-
-
Method Details
-
contribute
Description copied from interface:InfoContributorContributes additional details using the specifiedBuilder.- Specified by:
contributein interfaceInfoContributor- Parameters:
builder- the builder to use
-