类 EnvironmentEndpoint
- java.lang.Object
- org.springframework.boot.actuate.env.EnvironmentEndpoint
@Endpoint(id="env") public class EnvironmentEndpoint extends Object
Endpointto exposeenvironmentinformation.- 从以下版本开始:
- 2.0.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEnvironmentEndpoint.EnvironmentDescriptorA description of anEnvironment.static classEnvironmentEndpoint.EnvironmentEntryDescriptorA description of an entry of theEnvironment.static classEnvironmentEndpoint.PropertySourceDescriptorA description of aPropertySource.static classEnvironmentEndpoint.PropertySourceEntryDescriptorA description of a particular entry ofPropertySource.static classEnvironmentEndpoint.PropertySummaryDescriptorA summary of a particular entry of theEnvironment.static classEnvironmentEndpoint.PropertyValueDescriptorA description of a property's value, including its origin if available.
构造器概要
构造器 构造器 说明 EnvironmentEndpoint(org.springframework.core.env.Environment environment)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EnvironmentEndpoint.EnvironmentDescriptorenvironment(String pattern)EnvironmentEndpoint.EnvironmentEntryDescriptorenvironmentEntry(String toMatch)Objectsanitize(String name, Object object)voidsetKeysToSanitize(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)