Class EnvironmentEndpoint
java.lang.Object
io.micronaut.management.endpoint.env.EnvironmentEndpoint
Endpoint that displays information about the environment and its property sources.- Since:
- 1.2.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentEndpoint(io.micronaut.context.env.Environment environment) EnvironmentEndpoint(io.micronaut.context.env.Environment environment, @Nullable EnvironmentEndpointFilter environmentFilter) -
Method Summary
Modifier and TypeMethodDescriptionGets the keys to be displayed by the environment endpoint.getProperties(String propertySourceName) voidsetActiveKeys(List<String> activeKeys) Sets the sections to be displayed by the environment endpoint.
-
Field Details
-
NAME
-
-
Constructor Details
-
EnvironmentEndpoint
public EnvironmentEndpoint(io.micronaut.context.env.Environment environment) - Parameters:
environment- TheEnvironment
-
EnvironmentEndpoint
@Inject public EnvironmentEndpoint(io.micronaut.context.env.Environment environment, @Nullable EnvironmentEndpointFilter environmentFilter) - Parameters:
environment- TheEnvironmentenvironmentFilter- The registeredEnvironmentEndpointFilterbean if one is registered
-
-
Method Details
-
getActiveKeys
-
setActiveKeys
-
getEnvironmentInfo
-
getProperties
-