@ConfigurationProperties(prefix="endpoints.info") public class InfoEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint
to expose arbitrary application information.Constructor and Description |
---|
InfoEndpoint(Map<String,? extends Object> info)
Create a new
InfoEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getAdditionalInfo() |
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
public InfoEndpoint(Map<String,? extends Object> info)
InfoEndpoint
instance.info
- the info to exposeCopyright © 2016 Pivotal Software, Inc.. All rights reserved.