public interface HealthEndpointGroup
health contributors that can be exposed
by the HealthEndpoint.| Modifier and Type | Method and Description |
|---|---|
HttpCodeStatusMapper |
getHttpCodeStatusMapper()
Returns the
HttpCodeStatusMapper that should be used for this group. |
StatusAggregator |
getStatusAggregator()
Returns the status aggregator that should be used for this group.
|
boolean |
isMember(String name)
Returns
true if the given contributor is a member of this group. |
boolean |
showComponents(SecurityContext securityContext)
Returns if
health components should be
shown in the response. |
boolean |
showDetails(SecurityContext securityContext)
Returns if
health details should be shown in the
response. |
boolean isMember(String name)
true if the given contributor is a member of this group.name - the contributor nametrue if the contributor is a member of this groupboolean showComponents(SecurityContext securityContext)
health components should be
shown in the response.securityContext - the endpoint security contexttrue to shown details or false to hide themboolean showDetails(SecurityContext securityContext)
health details should be shown in the
response.securityContext - the endpoint security contexttrue to shown details or false to hide themStatusAggregator getStatusAggregator()
HttpCodeStatusMapper getHttpCodeStatusMapper()
HttpCodeStatusMapper that should be used for this group.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.