public class RollbackTo extends XMLRequest
Constructor and Description |
---|
RollbackTo(int runID)
Constructs a new
RollbackTo request. |
RollbackTo(int parentRunID,
int taskLnr)
Constructs a new
RollbackTo request, based on the runID and the taskLnr. |
RollbackTo(java.lang.String taskID)
Constructs a new
RollbackTo request, based on the taskID. |
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, showQuarantineNotification
public RollbackTo(int runID)
RollbackTo
request.runID
- RunID of the taskpublic RollbackTo(int parentRunID, int taskLnr)
RollbackTo
request, based on the runID and the taskLnr.parentRunID
- The RunID of the parent (workflow)taskLnr
- The lnr of the taskpublic RollbackTo(java.lang.String taskID)
RollbackTo
request, based on the taskID.taskID
- The task id with the following format parent-run-id/task-lnr.protected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
XMLRequest
createRequest
in class XMLRequest
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the session