类 SimpleInfoContributor
- java.lang.Object
- org.springframework.boot.actuate.info.SimpleInfoContributor
- 所有已实现的接口:
InfoContributor
public class SimpleInfoContributor extends Object implements InfoContributor
A simpleInfoContributor
that exposes a single detail.- 从以下版本开始:
- 1.4.0
构造器概要
构造器 构造器 说明 SimpleInfoContributor(String prefix, Object detail)
构造器详细资料
SimpleInfoContributor
public SimpleInfoContributor(String prefix, Object detail)
方法详细资料
contribute
public void contribute(Info.Builder builder)
从接口复制的说明:InfoContributor
Contributes additional details using the specifiedBuilder
.- 指定者:
contribute
在接口中InfoContributor
- 参数:
builder
- the builder to use