Package com.uc4.communication.requests
Class GetRestartInformation
java.lang.Object
com.uc4.communication.requests.XMLRequest
com.uc4.communication.requests.GetRestartInformation
Returns restart information of the specified task.
-
Constructor Summary
ConstructorsConstructorDescriptionGetRestartInformation
(int runID) Creates a newGetRestartInformation
request.Creates a newGetRestartInformation
request.GetRestartInformation
(UC4ObjectName uc4ObjectName) Creates a newGetRestartInformation
request. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createRequest
(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Creates the XML Document for the request.Returns Execute Test Options.Returns File Transfer Restart.Returns the last restart point.getQueue()
Returns Queue Name.int
Returns the original RunID of the task.protected String
getSrc()
Returns the request source.protected void
handleContent
(com.uc4.util.XMLDocument doc, ConnectionAttributes session) Sub classes extract the values from the XML document and provide public getter methods.boolean
Returns the Aborted Only.boolean
Returns the Keep Start Type.boolean
Returns the wait For Release.Methods inherited from class com.uc4.communication.requests.XMLRequest
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
-
Constructor Details
-
GetRestartInformation
public GetRestartInformation(int runID) Creates a newGetRestartInformation
request.- Parameters:
runID
- RunID of the task
-
GetRestartInformation
Creates a newGetRestartInformation
request.- Parameters:
obj
- UC4 Object
-
GetRestartInformation
Creates a newGetRestartInformation
request.- Parameters:
uc4ObjectName
- name of the Object.
-
-
Method Details
-
getSrc
Description copied from class:XMLRequest
Returns the request source. This method is used internally.- Specified by:
getSrc
in classXMLRequest
- Returns:
- Source
-
createRequest
protected void createRequest(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Description copied from class:XMLRequest
Creates the XML Document for the request. This method is used internally.- Specified by:
createRequest
in classXMLRequest
- Parameters:
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the session
-
handleContent
Description copied from class:XMLRequest
Sub classes extract the values from the XML document and provide public getter methods.- Overrides:
handleContent
in classXMLRequest
- Parameters:
doc
- XML Documentsession
- Info about the user session
-
getReferenceRunID
public int getReferenceRunID()Returns the original RunID of the task. This RunID must be used for a restart.- Returns:
- RunID of the original execution
-
getLastRestartPoint
Returns the last restart point.- Returns:
- Last restart point
-
isKeepStartType
public boolean isKeepStartType()Returns the Keep Start Type.- Returns:
- Keep Start Type
-
isWaitForRelease
public boolean isWaitForRelease()Returns the wait For Release.- Returns:
- Wait for Release
-
isAbortedOnly
public boolean isAbortedOnly()Returns the Aborted Only.- Returns:
- aborted Only
-
getQueue
Returns Queue Name.- Returns:
- the Queue Name
-
getExecuteTestOption
Returns Execute Test Options.- Returns:
- the execute Test option
-
getFileTransferSetting
Returns File Transfer Restart.- Returns:
- the file Transfer Restart
-