public interface HealthEndpointGroupConfigurer
HealthEndpointGroup
being built.Modifier and Type | Method and Description |
---|---|
HealthEndpointGroupConfigurer |
exclude(String... indicators)
Configure the indicator endpoint ids to exclude from this group.
|
HealthEndpointGroupConfigurer |
httpCodeStatusMapper(HttpCodeStatusMapper httpCodeStatusMapper)
Configure the
HttpCodeStatusMapper to use for this group. |
HealthEndpointGroupConfigurer |
include(String... indicators)
Configure the indicator endpoint ids to include in this group.
|
HealthEndpointGroupConfigurer |
roles(String... roles)
Configure roles used to determine whether or not a user is authorized to be shown
details.
|
HealthEndpointGroupConfigurer |
showComponents(HealthEndpointGroup.Show showComponents)
Configure the
visibility option for showing components of this group. |
HealthEndpointGroupConfigurer |
showDetails(HealthEndpointGroup.Show showDetails)
Configure the
visibility option for showing details of this group. |
HealthEndpointGroupConfigurer |
statusAggregator(StatusAggregator statusAggregator)
Configure the
StatusAggregator to use for this group. |
HealthEndpointGroupConfigurer include(String... indicators)
indicators
- the indicator endpoint idsHealthEndpointGroupConfigurer exclude(String... indicators)
indicators
- the indicator endpoint idsHealthEndpointGroupConfigurer statusAggregator(StatusAggregator statusAggregator)
StatusAggregator
to use for this group.
If none set, this will default to the globally configured StatusAggregator
.
statusAggregator
- the status aggregatorHealthEndpointGroupConfigurer httpCodeStatusMapper(HttpCodeStatusMapper httpCodeStatusMapper)
HttpCodeStatusMapper
to use for this group.
If none set, this will default to the globally configured
HttpCodeStatusMapper
.
httpCodeStatusMapper
- the status code mapperHealthEndpointGroupConfigurer showComponents(HealthEndpointGroup.Show showComponents)
visibility option
for showing components of this group.showComponents
- the components visibilityHealthEndpointGroupConfigurer showDetails(HealthEndpointGroup.Show showDetails)
visibility option
for showing details of this group.showDetails
- the details visibilityHealthEndpointGroupConfigurer roles(String... roles)
roles
- the roles