Package com.uc4.communication.requests
Class GetRestartInformation
- java.lang.Object
-
- com.uc4.communication.requests.XMLRequest
-
- com.uc4.communication.requests.GetRestartInformation
-
public class GetRestartInformation extends XMLRequest
Returns restart information of the specified task.
-
-
Constructor Summary
Constructors Constructor Description GetRestartInformation(int runID)Creates a newGetRestartInformationrequest.GetRestartInformation(UC4Object obj)Creates a newGetRestartInformationrequest.GetRestartInformation(UC4ObjectName uc4ObjectName)Creates a newGetRestartInformationrequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Creates the XML Document for the request.ExecuteTestOptionsgetExecuteTestOption()Returns Execute Test Options.RestartTask.FileTransferRestartgetFileTransferSetting()Returns File Transfer Restart.java.lang.StringgetLastRestartPoint()Returns the last restart point.java.lang.StringgetQueue()Returns Queue Name.intgetReferenceRunID()Returns the original RunID of the task.protected java.lang.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.booleanisAbortedOnly()Returns the Aborted Only.booleanisKeepStartType()Returns the Keep Start Type.booleanisWaitForRelease()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 Detail
-
GetRestartInformation
public GetRestartInformation(int runID)
Creates a newGetRestartInformationrequest.- Parameters:
runID- RunID of the task
-
GetRestartInformation
public GetRestartInformation(UC4Object obj)
Creates a newGetRestartInformationrequest.- Parameters:
obj- UC4 Object
-
GetRestartInformation
public GetRestartInformation(UC4ObjectName uc4ObjectName)
Creates a newGetRestartInformationrequest.- Parameters:
uc4ObjectName- name of the Object.
-
-
Method Detail
-
getSrc
protected java.lang.String 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, org.w3c.dom.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
protected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)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
public java.lang.String 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
public java.lang.String getQueue()
Returns Queue Name.- Returns:
- the Queue Name
-
getExecuteTestOption
public ExecuteTestOptions getExecuteTestOption()
Returns Execute Test Options.- Returns:
- the execute Test option
-
getFileTransferSetting
public RestartTask.FileTransferRestart getFileTransferSetting()
Returns File Transfer Restart.- Returns:
- the file Transfer Restart
-
-