@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. |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
public InfoEndpoint(List<InfoContributor> infoContributors)
InfoEndpoint
instance.infoContributors
- the info contributors to useCopyright © 2018 Pivotal Software, Inc.. All rights reserved.