code: public static String toPlainText(ThresholdAlert thresholdAlert) {
          String text = "Threshold alert:\n";
          text += "Timestamp: "+thresholdAlert.getTimestamp()+ '\n';
          text += "ISO Timestamp: "+ NumberUtils.makeISO8601TimestampString(thresholdAlert.getTimestamp())+ '\n';
          text += "Threshold: "+thresholdAlert.getThreshold().getName()+ '\n';
          text += "OldStatus: "+thresholdAlert.getOldStatus()+ '\n';
          text += "NewStatus: "+thresholdAlert.getNewStatus()+ '\n';
          text += "OldValue: "+thresholdAlert.getOldValue()+ '\n';
          text += "NewValue: "+thresholdAlert.getNewValue()+ '\n';
          return text;
      }
docs: Convert {@link net.anotheria.moskito.core.threshold.alerts.ThresholdAlert} to plain text.
  
  @param thresholdAlert {@link net.anotheria.moskito.core.threshold.alerts.ThresholdAlert}.
  @return threshold alert plain text.