类 EnvironmentInfoContributor
- java.lang.Object
- org.springframework.boot.actuate.info.EnvironmentInfoContributor
- 所有已实现的接口:
InfoContributor
public class EnvironmentInfoContributor extends Object implements InfoContributor
AnInfoContributor
that provides all environment entries prefixed with info.- 从以下版本开始:
- 1.4.0
构造器概要
构造器 构造器 说明 EnvironmentInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)
构造器详细资料
EnvironmentInfoContributor
public EnvironmentInfoContributor(org.springframework.core.env.ConfigurableEnvironment environment)
方法详细资料
contribute
public void contribute(Info.Builder builder)
从接口复制的说明:InfoContributor
Contributes additional details using the specifiedBuilder
.- 指定者:
contribute
在接口中InfoContributor
- 参数:
builder
- the builder to use