Package org.distributeme.core.lifecycle
Class HealthStatus
java.lang.Object
org.distributeme.core.lifecycle.HealthStatus
- All Implemented Interfaces:
Serializable
HealthStatus of a service contains of a state and a message.
- Version:
- $Id: $Id
- Author:
- lrosenberg
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldhealth.Getter for the fieldmessage.static final HealthStatusOK()Factory method for default status OK.toString()
-
Constructor Details
-
Method Details
-
getHealth
Getter for the field
health.- Returns:
- a
Healthobject.
-
getMessage
Getter for the field
message.- Returns:
- a
Stringobject.
-
toString
-
OK
Factory method for default status OK.- Returns:
- a
HealthStatusobject.
-