Class EnvironmentEndpoint
java.lang.Object
org.springframework.boot.actuate.env.EnvironmentEndpoint
@Endpoint
to expose environment
information.- Since:
- 2.0.0
- Author:
- Dave Syer, Phillip Webb, Christian Dupuis, Madhura Bhave, Stephane Nicoll, Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A description of anEnvironment
.static final class
A description of an entry of theEnvironment
.static final class
A description of aPropertySource
.static final class
A description of a particular entry ofPropertySource
.static final class
A summary of a particular entry of theEnvironment
.static final class
A description of a property's value, including its origin if available. -
Constructor Summary
ConstructorDescriptionEnvironmentEndpoint
(Environment environment, Iterable<SanitizingFunction> sanitizingFunctions, Show showValues) -
Method Summary
Modifier and TypeMethodDescriptionenvironment
(String pattern) environmentEntry
(String toMatch) protected Object
stringifyIfNecessary
(Object value)
-
Constructor Details
-
EnvironmentEndpoint
public EnvironmentEndpoint(Environment environment, Iterable<SanitizingFunction> sanitizingFunctions, Show showValues)
-
-
Method Details
-
environment
@ReadOperation public EnvironmentEndpoint.EnvironmentDescriptor environment(@Nullable String pattern) -
environmentEntry
@ReadOperation public EnvironmentEndpoint.EnvironmentEntryDescriptor environmentEntry(@Selector String toMatch) -
stringifyIfNecessary
-