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
ConstructorDescriptionSimpleStatusAggregator
(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, wait
Methods 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:StatusAggregator
Return the aggregate status for the given set of statuses.- Specified by:
getAggregateStatus
in interfaceStatusAggregator
- Parameters:
statuses
- the statuses to aggregate- Returns:
- the aggregate status
-