@Override
    public boolean equals(Object obj) {
      if (this == obj) {
        return true;
      }

      if (obj == null || getClass() != obj.getClass()) {
        return false;
      }

      ReportTemplate other = (ReportTemplate) obj;
      return Objects.equals(m_text, other.m_text) &&
        Objects.equals(m_value, other.m_value);
    }
@param value
         the threshold value for this template or {@code null} if none.
ambari-server/src/main/java/org/apache/ambari/server/state/alert/Reporting.java