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 Summary
Constructors -
Method Summary
-
Constructor Details
-
HealthDescriptor
public HealthDescriptor()
-
-
Method Details
-
getStatus
Return the status of the component.- Returns:
- the component status
-