@ConfigurationProperties(prefix="endpoints.env", ignoreUnknownFields=false) public class EnvironmentEndpoint extends AbstractEndpoint<Map<String,Object>> implements EnvironmentAware
Endpoint
to expose environment
information.Constructor and Description |
---|
EnvironmentEndpoint()
Create a new
EnvironmentEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
Object |
sanitize(String name,
Object object) |
void |
setEnvironment(Environment environment) |
void |
setKeysToSanitize(String... keysToSanitize) |
getId, isEnabled, isSensitive, setEnabled, setId, setSensitive
public EnvironmentEndpoint()
EnvironmentEndpoint
instance.public void setKeysToSanitize(String... keysToSanitize)
public Map<String,Object> invoke()
Endpoint
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.