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 newGetRestartInformation
request.GetRestartInformation(UC4Object obj)
Creates a newGetRestartInformation
request.GetRestartInformation(UC4ObjectName uc4ObjectName)
Creates a newGetRestartInformation
request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
Creates the XML Document for the request.ExecuteTestOptions
getExecuteTestOption()
Returns Execute Test Options.RestartTask.FileTransferRestart
getFileTransferSetting()
Returns File Transfer Restart.java.lang.String
getLastRestartPoint()
Returns the last restart point.java.lang.String
getQueue()
Returns Queue Name.int
getReferenceRunID()
Returns the original RunID of the task.protected java.lang.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
isAbortedOnly()
Returns the Aborted Only.boolean
isKeepStartType()
Returns the Keep Start Type.boolean
isWaitForRelease()
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 newGetRestartInformation
request.- Parameters:
runID
- RunID of the task
-
GetRestartInformation
public GetRestartInformation(UC4Object obj)
Creates a newGetRestartInformation
request.- Parameters:
obj
- UC4 Object
-
GetRestartInformation
public GetRestartInformation(UC4ObjectName uc4ObjectName)
Creates a newGetRestartInformation
request.- Parameters:
uc4ObjectName
- name of the Object.
-
-
Method Detail
-
getSrc
protected java.lang.String 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, org.w3c.dom.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
protected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
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
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
-
-