Class SimpleStatusAggregator

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

@Deprecated(since="4.1.0", forRemoval=true) public class SimpleStatusAggregator extends Object implements StatusAggregator
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.1.0 for removal in 4.3.0 in favor of StatusAggregator.of(Status...)
StatusAggregator backed by an ordered status list.
Since:
4.0.0
Author:
Phillip Webb
  • Constructor Details

    • SimpleStatusAggregator

      public SimpleStatusAggregator()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SimpleStatusAggregator

      public SimpleStatusAggregator(Status... order)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SimpleStatusAggregator

      public SimpleStatusAggregator(String... order)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SimpleStatusAggregator

      public SimpleStatusAggregator(List<String> order)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getAggregateStatus

      public Status getAggregateStatus(Set<Status> statuses)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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