Class SimpleStatusAggregator
java.lang.Object
org.springframework.boot.actuate.health.SimpleStatusAggregator
- All Implemented Interfaces:
StatusAggregator
StatusAggregator backed by an ordered status list.- Since:
- 2.2.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleStatusAggregator(String... order) SimpleStatusAggregator(List<String> order) SimpleStatusAggregator(Status... order) -
Method Summary
Modifier and TypeMethodDescriptiongetAggregateStatus(Set<Status> statuses) Return the aggregate status for the given set of statuses.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.StatusAggregator
getAggregateStatus
-
Constructor Details
-
SimpleStatusAggregator
public SimpleStatusAggregator() -
SimpleStatusAggregator
-
SimpleStatusAggregator
-
SimpleStatusAggregator
-
-
Method Details
-
getAggregateStatus
Description copied from interface:StatusAggregatorReturn the aggregate status for the given set of statuses.- Specified by:
getAggregateStatusin interfaceStatusAggregator- Parameters:
statuses- the statuses to aggregate- Returns:
- the aggregate status
-