public class AlertSummary extends Object implements Serializable
Constructor and Description |
---|
AlertSummary(long count,
List<Alert> alerts,
Severity highestSeverity)
Construct an alert summary data with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
long |
getAlertCount()
Returns the total count of alerts.
|
Severity |
getHighestSeverity()
Returns the highest alert severity represented in the alert summary.
|
List<Alert> |
getMiniAlertList()
Returns the list of alerts to be reported in the summary.
|
public AlertSummary(long count, List<Alert> alerts, Severity highestSeverity)
count
- The total number of alerts in the summaryalerts
- the alert datahighestSeverity
- the highest reported alert severity for this
summarypublic long getAlertCount()
public List<Alert> getMiniAlertList()
public Severity getHighestSeverity()
Copyright © 2016. All Rights Reserved.