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()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getStatus

          public ClusterHealthStatus getStatus()

    - #### getErrorMessage

          public String getErrorMessage()

    - #### isHealthy

          public boolean isHealthy()

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### create

          public static ClusterHealth.Builder create()

    - #### green

          public static ClusterHealth green()

    - #### yellow

          public static ClusterHealth yellow()

    - #### red

          public static ClusterHealth red()