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
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. -
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
-