@Endpoint(id="env", defaultEnabled=false) public class EnvironmentEndpoint extends Object
Endpoint
that displays information about the environment and its property sources.Constructor and Description |
---|
EnvironmentEndpoint(Environment environment) |
EnvironmentEndpoint(Environment environment,
EnvironmentEndpointFilter environmentFilter) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getEnvironmentInfo() |
Map<String,Object> |
getProperties(String propertySourceName) |
public static final String NAME
public EnvironmentEndpoint(Environment environment)
environment
- The Environment
@Inject public EnvironmentEndpoint(Environment environment, @Nullable EnvironmentEndpointFilter environmentFilter)
environment
- The Environment
environmentFilter
- The registered EnvironmentEndpointFilter
bean if one is registered