S
- the availability state typepublic static interface AvailabilityStateHealthIndicator.StatusMappings<S extends AvailabilityState>
Modifier and Type | Method and Description |
---|---|
void |
add(S availabilityState,
Status status)
Add a new status mapping .
|
default void |
addDefaultStatus(Status status)
Add the status that should be used if no explicit mapping is defined.
|
default void addDefaultStatus(Status status)
status
- the default status