Class Health
- java.lang.Object
-
- io.streamthoughts.azkarra.http.health.Health
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Health.Builder
Builder for creating newHealth
instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,Object>
getDetails()
Gets the health indicator details.String
getName()
Gets the health indicator name.Status
getStatus()
Gets the health indicator status.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Gets the health indicator name.- Returns:
- the name (may be
null
).
-
getStatus
public Status getStatus()
Gets the health indicator status.- Returns:
- the
Status
(cannot benull
).
-
getDetails
public Map<String,Object> getDetails()
Gets the health indicator details.- Returns:
- the details or an empty map.
-
-