Package com.enonic.xp.cluster
Class ClusterHealth
- java.lang.Object
-
- com.enonic.xp.cluster.ClusterHealth
-
public class ClusterHealth extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterHealth.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterHealth.Builder
create()
boolean
equals(Object o)
String
getErrorMessage()
ClusterHealthStatus
getStatus()
static ClusterHealth
green()
int
hashCode()
boolean
isHealthy()
static ClusterHealth
red()
static ClusterHealth
yellow()
-
-
-
Method Detail
-
getStatus
public ClusterHealthStatus getStatus()
-
getErrorMessage
public String getErrorMessage()
-
isHealthy
public boolean isHealthy()
-
create
public static ClusterHealth.Builder create()
-
green
public static ClusterHealth green()
-
yellow
public static ClusterHealth yellow()
-
red
public static ClusterHealth red()
-
-