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 newGetRestartInformationrequest.Creates a newGetRestartInformationrequest.GetRestartInformation(UC4ObjectName uc4ObjectName) Creates a newGetRestartInformationrequest. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateRequest(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.intReturns the original RunID of the task.protected StringgetSrc()Returns the request source.protected voidhandleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session) Sub classes extract the values from the XML document and provide public getter methods.booleanReturns the Aborted Only.booleanReturns the Keep Start Type.booleanReturns 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 newGetRestartInformationrequest.- Parameters:
runID- RunID of the task
-
GetRestartInformation
Creates a newGetRestartInformationrequest.- Parameters:
obj- UC4 Object
-
GetRestartInformation
Creates a newGetRestartInformationrequest.- Parameters:
uc4ObjectName- name of the Object.
-
-
Method Details
-
getSrc
Description copied from class:XMLRequestReturns the request source. This method is used internally.- Specified by:
getSrcin classXMLRequest- Returns:
- Source
-
createRequest
protected void createRequest(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Description copied from class:XMLRequestCreates the XML Document for the request. This method is used internally.- Specified by:
createRequestin 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:XMLRequestSub classes extract the values from the XML document and provide public getter methods.- Overrides:
handleContentin 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
-