public class HealthCheckResult extends Object
| Constructor and Description |
|---|
HealthCheckResult(String name)
TODO.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildCheck(HealthCheckResult childCheck) |
void |
clearChildChecks() |
void |
clearStatuses() |
static HealthCheckResult |
getInstanceFromJsonMessage(String name,
String jsonMessage) |
Object |
getStatus(String statusName) |
Map<String,Object> |
getStatuses() |
Set<String> |
getStatusNames() |
boolean |
isHealthy() |
void |
setHealthy(boolean healthy) |
String |
toJsonMessage(boolean pretty) |
public HealthCheckResult(String name)
name - Name of the check result.public void setHealthy(boolean healthy)
public void clearStatuses()
public void clearChildChecks()
public void addChildCheck(HealthCheckResult childCheck)
public boolean isHealthy()
public String toJsonMessage(boolean pretty)
public static HealthCheckResult getInstanceFromJsonMessage(String name, String jsonMessage)
Copyright © 2018. All rights reserved.