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 |
includeDetails(SecurityContext securityContext)
Returns if
health details should be included in the
response. |
boolean |
isMember(String name)
Returns
true if the given contributor is a member of this group. |
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 includeDetails(SecurityContext securityContext)
health details
should be included in the
response.securityContext
- the endpoint security contexttrue
to included 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.