类 EnvironmentEndpoint
- java.lang.Object
- org.springframework.boot.actuate.env.EnvironmentEndpoint
@Endpoint(id="env") public class EnvironmentEndpoint extends Object
Endpoint
to exposeenvironment
information.- 从以下版本开始:
- 2.0.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
EnvironmentEndpoint.EnvironmentDescriptor
A description of anEnvironment
.static class
EnvironmentEndpoint.EnvironmentEntryDescriptor
A description of an entry of theEnvironment
.static class
EnvironmentEndpoint.PropertySourceDescriptor
A description of aPropertySource
.static class
EnvironmentEndpoint.PropertySourceEntryDescriptor
A description of a particular entry ofPropertySource
.static class
EnvironmentEndpoint.PropertySummaryDescriptor
A summary of a particular entry of theEnvironment
.static class
EnvironmentEndpoint.PropertyValueDescriptor
A description of a property's value, including its origin if available.
构造器概要
构造器 构造器 说明 EnvironmentEndpoint(org.springframework.core.env.Environment environment)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EnvironmentEndpoint.EnvironmentDescriptor
environment(String pattern)
EnvironmentEndpoint.EnvironmentEntryDescriptor
environmentEntry(String toMatch)
Object
sanitize(String name, Object object)
void
setKeysToSanitize(String... keysToSanitize)
构造器详细资料
EnvironmentEndpoint
public EnvironmentEndpoint(org.springframework.core.env.Environment environment)
方法详细资料
setKeysToSanitize
public void setKeysToSanitize(String... keysToSanitize)
environment
@ReadOperation public EnvironmentEndpoint.EnvironmentDescriptor environment(@Nullable String pattern)
environmentEntry
@ReadOperation public EnvironmentEndpoint.EnvironmentEntryDescriptor environmentEntry(@Selector String toMatch)