@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    RecoveryConfig that = (RecoveryConfig) o;

    return enabledComponents != null ? enabledComponents.equals(that.enabledComponents) : that.enabledComponents == null;
  }
Recovery config to be sent to the agent
ambari-server/src/main/java/org/apache/ambari/server/agent/RecoveryConfig.java