public class CancelTask extends XMLRequest
If a message is returned from the server the getMessageBox
method returns the corresponding message.
| Constructor and Description |
|---|
CancelTask(int[] runIds,
boolean recursive)
Constructs a
CancelTask using multiple RunIds. |
CancelTask(int runID,
boolean recursive)
Constructs a
CancelTask using the specified RunID. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleContent, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotificationpublic CancelTask(int runID,
boolean recursive)
CancelTask using the specified RunID.runID - RunID of the taskrecursive - Also cancel sub taskspublic CancelTask(int[] runIds,
boolean recursive)
CancelTask using multiple RunIds.runIds - RunIds of the selected taskrecursive - Also cancel sub tasksprotected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - Document, used to create new Elementsrequest - Request Element - classes append information to this request elementsessionInfo - Information about the session