public class NotificationMonitor extends XMLRequest implements java.lang.Iterable<NotificationMonitor.CallStatus>
ModifyNotificationMonitor
Modifier and Type | Class and Description |
---|---|
static class |
NotificationMonitor.CallStatus
This inner class represents a row in the calling status table of this notification monitor.
|
static class |
NotificationMonitor.Type
Notification type.
|
Constructor and Description |
---|
NotificationMonitor(int runID)
Creates a new
NotificationMonitor request. |
NotificationMonitor(java.util.List<java.lang.Integer> runIDs)
Creates a new
NotificationMonitor request. |
Modifier and Type | Method and Description |
---|---|
DateTime |
getEscalation()
Returns the date and time on which the Notification escalates.
|
java.lang.String |
getMessage()
Returns the message text of this notification.
|
java.util.List<NotificationMonitor> |
getNotificationMonitors() |
NotificationMonitor.Type |
getNotificationType()
Returns the type of the notification independent of the logon languge.
|
int |
getParentRunID()
Returns the RunID of the parent or
0 if there is none. |
java.lang.String |
getPriority()
Returns the Priority of the Notification (high, normal, low).
|
int |
getRunID()
Returns the RunID of this notification.
|
DateTime |
getStartTime()
Returns the start time of this notification.
|
int |
getStatusCode()
Returns the status of the notification.
|
java.lang.String |
getSubject()
Returns the subject of the message text.
|
java.lang.String |
getTypeText()
Translated type text, for example Email, Message, Request or Alert.
|
boolean |
hasComment()
Returns
true if this notification has comments. |
java.util.Iterator<NotificationMonitor.CallStatus> |
iterator() |
int |
size()
Returns the number of rows in the calling status table.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public NotificationMonitor(int runID)
NotificationMonitor
request.runID
- RunID of the CALL task.public NotificationMonitor(java.util.List<java.lang.Integer> runIDs)
NotificationMonitor
request.runIDs
- RunIDs of the CALL tasks.public int getRunID()
public int getParentRunID()
0
if there is none.public int getStatusCode()
Type Alert
Type Request
Type Message
public NotificationMonitor.Type getNotificationType()
getTypeText()
public boolean hasComment()
true
if this notification has comments.
The request GetComments
can be used to get the detail of the comment.public DateTime getEscalation()
public java.lang.String getTypeText()
public java.lang.String getPriority()
public DateTime getStartTime()
public java.lang.String getSubject()
public java.lang.String getMessage()
public java.util.Iterator<NotificationMonitor.CallStatus> iterator()
iterator
in interface java.lang.Iterable<NotificationMonitor.CallStatus>
public int size()
public java.util.List<NotificationMonitor> getNotificationMonitors()