类 EnvironmentEndpoint
java.lang.Object
org.springframework.boot.actuate.env.EnvironmentEndpoint
@Endpoint
to expose environment
information.- 从以下版本开始:
- 2.0.0
- 作者:
- Dave Syer, Phillip Webb, Christian Dupuis, Madhura Bhave, Stephane Nicoll, Scott Frederick
-
嵌套类概要
嵌套类修饰符和类型类说明static final class
Description of anEnvironment
.static final class
Description of an entry of theEnvironment
.static final class
Description of aPropertySource
.static final class
Description of a particular entry ofPropertySource
.static final class
Description of a particular entry of theEnvironment
.static final class
Description of a property's value, including its origin if available. -
构造器概要
构造器构造器说明EnvironmentEndpoint
(Environment environment, Iterable<SanitizingFunction> sanitizingFunctions, Show showValues) -
方法概要
修饰符和类型方法说明environment
(String pattern) environmentEntry
(String toMatch) protected Object
stringifyIfNecessary
(Object value)
-
构造器详细资料
-
EnvironmentEndpoint
public EnvironmentEndpoint(Environment environment, Iterable<SanitizingFunction> sanitizingFunctions, Show showValues)
-
-
方法详细资料
-
environment
@ReadOperation public EnvironmentEndpoint.EnvironmentDescriptor environment(@Nullable String pattern) -
environmentEntry
@ReadOperation public EnvironmentEndpoint.EnvironmentEntryDescriptor environmentEntry(@Selector String toMatch) -
stringifyIfNecessary
-