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

      AlertParameter other = (AlertParameter) obj;
      return Objects.equals(m_description, other.m_description) &&
        Objects.equals(m_displayName, other.m_displayName) &&
        Objects.equals(m_name, other.m_name) &&
        Objects.equals(m_threshold, other.m_threshold) &&
        Objects.equals(m_type, other.m_type) &&
        Objects.equals(m_units, other.m_units) &&
        Objects.equals(m_value, other.m_value) &&
        Objects.equals(m_visibility, other.m_visibility);
    }
Gets the threshold that this parameter directly controls, or {@code null}
for none.

@return the threshold, or {@code null}.
ambari-server/src/main/java/org/apache/ambari/server/state/alert/ParameterizedSource.java