public List<Alert> getAlerts() {
    if (m_alerts != null) {
      return m_alerts;
    } else {
      return Collections.singletonList(m_alert);
    }
  }
Gets list of alerts this event was created for
@return
ambari-server/src/main/java/org/apache/ambari/server/events/AlertEvent.java