@ConfigurationProperties(prefix="endpoints.info") public class InfoEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint to expose arbitrary application information.| Constructor and Description |
|---|
InfoEndpoint(List<InfoContributor> infoContributors)
Create a new
InfoEndpoint instance. |
InfoEndpoint(Map<String,Object> info,
InfoContributor... infoContributors)
Deprecated.
as of 1.4 in favor of
InfoEndpoint(List) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getAdditionalInfo()
Deprecated.
as of 1.4 in favor of defining an additional
InfoContributor
bean. |
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitivepublic InfoEndpoint(List<InfoContributor> infoContributors)
InfoEndpoint instance.infoContributors - the info contributors to use@Deprecated public InfoEndpoint(Map<String,Object> info, InfoContributor... infoContributors)
InfoEndpoint(List)info - a map (which is added to the info)infoContributors - the info contributors to usepublic Map<String,Object> invoke()
Endpoint@Deprecated protected Map<String,Object> getAdditionalInfo()
InfoContributor
bean.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.