类 BuildInfoContributor
java.lang.Object
org.springframework.boot.actuate.info.InfoPropertiesInfoContributor<BuildProperties>
org.springframework.boot.actuate.info.BuildInfoContributor
- 所有已实现的接口:
InfoContributor
@ImportRuntimeHints(org.springframework.boot.actuate.info.BuildInfoContributor.BuildInfoContributorRuntimeHints.class)
public class BuildInfoContributor
extends InfoPropertiesInfoContributor<BuildProperties>
An
InfoContributor
that exposes BuildProperties
.- 从以下版本开始:
- 1.4.0
- 作者:
- Stephane Nicoll
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.boot.actuate.info.InfoPropertiesInfoContributor
InfoPropertiesInfoContributor.Mode
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
contribute
(Info.Builder builder) Contributes additional details using the specifiedBuilder
.protected void
postProcessContent
(Map<String, Object> content) Post-process the content to expose.protected PropertySource
<?> Return aPropertySource
for theSIMPLE
mode.从类继承的方法 org.springframework.boot.actuate.info.InfoPropertiesInfoContributor
copyIfSet, extractContent, generateContent, getMode, getNestedMap, getProperties, replaceValue, toPropertySource
-
构造器详细资料
-
BuildInfoContributor
-
-
方法详细资料
-
contribute
从接口复制的说明:InfoContributor
Contributes additional details using the specifiedBuilder
.- 参数:
builder
- the builder to use
-
toSimplePropertySource
从类复制的说明:InfoPropertiesInfoContributor
Return aPropertySource
for theSIMPLE
mode.- 指定者:
toSimplePropertySource
在类中InfoPropertiesInfoContributor<BuildProperties>
- 返回:
- the property source for the simple model
- 另请参阅:
-
postProcessContent
从类复制的说明:InfoPropertiesInfoContributor
Post-process the content to expose. Elements can be added, changed or removed.- 覆盖:
postProcessContent
在类中InfoPropertiesInfoContributor<BuildProperties>
- 参数:
content
- the content to expose
-