Class HealthDescriptor

java.lang.Object
org.springframework.boot.health.actuate.endpoint.HealthDescriptor
All Implemented Interfaces:
OperationResponseBody
Direct Known Subclasses:
CompositeHealthDescriptor, IndicatedHealthDescriptor

public abstract sealed class HealthDescriptor extends Object implements OperationResponseBody permits IndicatedHealthDescriptor, CompositeHealthDescriptor
Description of health including a status.
Since:
4.0.0
Author:
Phillip Webb
  • Constructor Details

    • HealthDescriptor

      public HealthDescriptor()
  • Method Details

    • getStatus

      public abstract Status getStatus()
      Return the status of the component.
      Returns:
      the component status