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 classClusterHealth.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterHealth.Buildercreate()booleanequals(Object o)StringgetErrorMessage()ClusterHealthStatusgetStatus()static ClusterHealthgreen()inthashCode()booleanisHealthy()static ClusterHealthred()static ClusterHealthyellow()
-
-
-
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()
-
-