@ConfigurationProperties(prefix="endpoints.info") public class InfoEndpoint extends AbstractEndpoint<Info>
Endpoint to expose arbitrary application information.| Constructor and Description |
|---|
InfoEndpoint(List<InfoContributor> infoContributors)
Create a new
InfoEndpoint instance. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getAdditionalInfo()
Deprecated.
as of 1.4 in favor of defining an additional
InfoContributor
bean. |
Info |
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 usepublic Info invoke()
Endpoint@Deprecated protected Map<String,Object> getAdditionalInfo()
InfoContributor
bean.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.