Class SimpleStatusAggregator

java.lang.Object
org.springframework.boot.actuate.health.SimpleStatusAggregator
All Implemented Interfaces:
StatusAggregator

public class SimpleStatusAggregator extends Object implements StatusAggregator
StatusAggregator backed by an ordered status list.
Since:
2.2.0
Author:
Phillip Webb
  • Constructor Details

    • SimpleStatusAggregator

      public SimpleStatusAggregator()
    • SimpleStatusAggregator

      public SimpleStatusAggregator(Status... order)
    • SimpleStatusAggregator

      public SimpleStatusAggregator(String... order)
    • SimpleStatusAggregator

      public SimpleStatusAggregator(List<String> order)
  • Method Details

    • getAggregateStatus

      public Status getAggregateStatus(Set<Status> statuses)
      Description copied from interface: StatusAggregator
      Return the aggregate status for the given set of statuses.
      Specified by:
      getAggregateStatus in interface StatusAggregator
      Parameters:
      statuses - the statuses to aggregate
      Returns:
      the aggregate status