public class GetExecuteOnce extends XMLRequest
| Constructor and Description |
|---|
GetExecuteOnce(int runID)
Reads the settings of a task which has already been started.
|
GetExecuteOnce(UC4ObjectName name)
Reads the default settings for a task that will be scheduled.
|
| 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.
|
UC4Alias |
getAlias()
Returns the alias of the object or an empty instance if not set.
|
DateTime |
getExecutionDateTime()
Returns the scheduled start time if the task does not start immediately.
|
DateTime |
getLogicalDateTime() |
UC4ObjectName |
getQueue()
Returns the name of the queue object where the task runs.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
ExecuteTestOptions |
getTestOptions()
Returns the
TestOptions which are used when restarting
the task or null if the TestOptions are not set. |
UC4TimezoneName |
getTimezone() |
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isExecuteAt() |
boolean |
isImmediately() |
boolean |
isUseLogicalDate() |
boolean |
isWaitForManualRelease()
Returns
true if the task waits a for manual release. |
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic GetExecuteOnce(UC4ObjectName name)
name - Name of the objectpublic GetExecuteOnce(int runID)
runID - RunID of the task, must not be zeroprotected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwiseprotected 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 sessionprotected void handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
handleContent in class XMLRequestpublic UC4ObjectName getQueue()
public UC4Alias getAlias()
public boolean isWaitForManualRelease()
true if the task waits a for manual release.public UC4TimezoneName getTimezone()
public boolean isUseLogicalDate()
public DateTime getLogicalDateTime()
public DateTime getExecutionDateTime()
public boolean isImmediately()
public ExecuteTestOptions getTestOptions()
TestOptions which are used when restarting
the task or null if the TestOptions are not set.public boolean isExecuteAt()