AlertCriteria¶
-
public class
AlertCriteria
¶ Maintains the criteria by which search for alerts to be done
Methods¶
alertStatus¶
-
public AlertStatus
alertStatus
()¶
byDateRange¶
-
public AlertCriteria
byDateRange
(DateTime from, DateTime to)¶ Adds criterion to search by the date of alert in the given range
Parameters: - from – Start date of the alerts to be searched for
- to – End date of the alerts to be searched for
Returns: Instance with the current criterion added to it.
byExternalId¶
-
public AlertCriteria
byExternalId
(String id)¶ Adds criterion to search by external id of alert
Parameters: - id – external id of the alert to be searched for
Returns: Instance with the current criterion added to it.
byPriority¶
-
public AlertCriteria
byPriority
(Integer priority)¶ Adds criterion to search by priority of alert
Parameters: - priority – priority of the alert to be searched for
Returns: Instance with the current criterion added to it.
byStatus¶
-
public AlertCriteria
byStatus
(AlertStatus status)¶ Adds criterion to search by status of alert
Parameters: - status – status of the alert to be searched for
Returns: Instance with the current criterion added to it.
byType¶
-
public AlertCriteria
byType
(AlertType type)¶ Adds criterion to search by type of alert
Parameters: - type – type of the alert to be searched for
Returns: Instance with the current criterion added to it.