Class EnvironmentInfoContributor
- java.lang.Object
- org.springframework.boot.actuate.info.EnvironmentInfoContributor
- All Implemented Interfaces:
InfoContributor
public class EnvironmentInfoContributor extends Object implements InfoContributor
AnInfoContributor
that provides all environment entries prefixed with info.- Since:
- 1.4.0
Constructor Summary
Constructors Constructor Description EnvironmentInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contribute(Info.Builder builder)
Contributes additional details using the specifiedBuilder
.
Constructor Detail
EnvironmentInfoContributor
public EnvironmentInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)
Method Detail
contribute
public void contribute(Info.Builder builder)
Description copied from interface:InfoContributor
Contributes additional details using the specifiedBuilder
.- Specified by:
contribute
in interfaceInfoContributor
- Parameters:
builder
- the builder to use