Class HealthDescriptor
java.lang.Object
org.springframework.boot.actuate.health.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.springframework.boot.health.contributor.StatusReturn the status of the component.
-
Constructor Details
-
HealthDescriptor
public HealthDescriptor()
-
-
Method Details
-
getStatus
public abstract org.springframework.boot.health.contributor.Status getStatus()Return the status of the component.- Returns:
- the component status
-