@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.
|
static Object |
sanitize(String name,
Object object) |
void |
setEnvironment(Environment environment) |
getId, isEnabled, isSensitive, setEnabled, setId, setSensitive
public EnvironmentEndpoint()
EnvironmentEndpoint
instance.public Map<String,Object> invoke()
Endpoint
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.