Class InfoEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.AbstractEndpoint<Map<String,Object>>
- org.springframework.boot.actuate.endpoint.InfoEndpoint
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,Endpoint<Map<String,Object>>
,org.springframework.context.EnvironmentAware
@ConfigurationProperties(prefix="endpoints.info") public class InfoEndpoint extends AbstractEndpoint<Map<String,Object>>
Endpoint
to expose arbitrary application information.
Constructor Summary
Constructors Constructor Description InfoEndpoint(List<InfoContributor> infoContributors)
Create a newInfoEndpoint
instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
invoke()
Called to invoke the endpoint.Methods inherited from class org.springframework.boot.actuate.endpoint.AbstractEndpoint
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
Constructor Detail
InfoEndpoint
public InfoEndpoint(List<InfoContributor> infoContributors)
Create a newInfoEndpoint
instance.- Parameters:
infoContributors
- the info contributors to use