public State getCurrentState() {
    return currentState;
  }
The {@link HostComponentSum1mary} class provides a concise representation of
the state of a component on a given host. Some of its fields are serializable
to JSON.
ambari-server/src/main/java/org/apache/ambari/server/orm/models/HostComponentSummary.java