public List<AlertHistoryEntity> getAlerts() {
      return m_alerts;
    }
Gets all of the alerts in the {@link Notification}.

@return all of the alerts.
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java