public String toString(StatAlertDefinition defn) {
    StringBuilder buf = new StringBuilder();
    buf.append("For Member ID: ");
    buf.append(memberId);
    buf.append("\n");
    buf.append("[ ");
    for (int i = 0; i < getValues().length; i++) {
      buf.append(defn.getStatisticInfo()[i].toString() + "=" + getValues()[i] + "\n");
    }
    buf.append("]");
    return getTime().toString() + ":" + buf;
  }
The notification is something like this "For Member ID: <ID> [ <StatName> = <Value> .. ]"

@param defn {@link StatAlertDefinition}
@return String representation of this object based on {@link StatAlertDefinition}
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/StatAlertNotification.java