public class SimpleStatusAggregator extends Object implements StatusAggregator
StatusAggregator
backed by an ordered status list.Constructor and Description |
---|
SimpleStatusAggregator() |
SimpleStatusAggregator(List<String> order) |
SimpleStatusAggregator(Status... order) |
SimpleStatusAggregator(String... order) |
Modifier and Type | Method and Description |
---|---|
Status |
getAggregateStatus(Set<Status> statuses)
Return the aggregate status for the given set of statuses.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregateStatus
public SimpleStatusAggregator()
public SimpleStatusAggregator(Status... order)
public SimpleStatusAggregator(String... order)
public Status getAggregateStatus(Set<Status> statuses)
StatusAggregator
getAggregateStatus
in interface StatusAggregator
statuses
- the statuses to aggregate