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
FieldsModifier and TypeFieldDescriptionstatic final StatusStatusindicating that the component or subsystem has suffered an unexpected failure.static final StatusStatusindicating that the component or subsystem has been taken out of service and should not be used.static final StatusStatusindicating that the component or subsystem is in an unknown state.static final StatusStatusindicating that the component or subsystem is functioning as expected. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UNKNOWN
Statusindicating that the component or subsystem is in an unknown state. -
UP
Statusindicating that the component or subsystem is functioning as expected. -
DOWN
Statusindicating that the component or subsystem has suffered an unexpected failure. -
OUT_OF_SERVICE
Statusindicating that the component or subsystem has been taken out of service and should not be used.
-
-
Constructor Details
-
Method Details