Class Status
java.lang.Object
org.springframework.boot.actuate.health.Status
Value object to express state of a component or subsystem.
Status provides convenient constants for commonly used states like UP
,
DOWN
or OUT_OF_SERVICE
.
Custom states can also be created and used throughout the Spring Boot Health subsystem.
- Since:
- 1.1.0
- Author:
- Christian Dupuis
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Status
Status
indicating that the component or subsystem has suffered an unexpected failure.static final Status
Status
indicating that the component or subsystem has been taken out of service and should not be used.static final Status
Status
indicating that the component or subsystem is in an unknown state.static final Status
Status
indicating that the component or subsystem is functioning as expected. -
Constructor Summary
-
Method Summary
-
Field Details
-
UNKNOWN
Status
indicating that the component or subsystem is in an unknown state. -
UP
Status
indicating that the component or subsystem is functioning as expected. -
DOWN
Status
indicating that the component or subsystem has suffered an unexpected failure. -
OUT_OF_SERVICE
Status
indicating that the component or subsystem has been taken out of service and should not be used.
-
-
Constructor Details
-
Method Details