Class Health
java.lang.Object
is.galia.status.Health
Application health, generally obtained from the HealthChecker
.
This class is thread-safe.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
For Jackson JSON serialization.void
setMinColor
(Health.Color minColor) Sets the minimum color to the given value.toString()
-
Constructor Details
-
Health
public Health()
-
-
Method Details
-
getColor
-
getMessage
-
getPossibleColors
For Jackson JSON serialization. -
setMinColor
Sets the minimum color to the given value. Subsequent calls cannot set the color to any lower value. -
toString
-