Package com.uc4.communication.requests
Class ModifyRecurringTask
java.lang.Object
com.uc4.communication.requests.XMLRequest
com.uc4.communication.requests.ModifyRecurringTask
Modifies a recurring task.
-
Constructor Summary
ConstructorsConstructorDescriptionModifyRecurringTask
(int runID, ExecuteRecurring reccuring) Creates aModifyRecurringTask
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
allowImmediateStart
(boolean flag) This method can be used to set the behaviour in case the start time lies in the past.protected void
createRequest
(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Creates the XML Document for the request.protected String
getSrc()
Returns the request source.void
This method will set the startImmediate to Zero.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, handleContent, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
-
Constructor Details
-
ModifyRecurringTask
Creates aModifyRecurringTask
.- Parameters:
runID
- RunIDreccuring
- ExecuteRecurring
-
-
Method Details
-
getSrc
Description copied from class:XMLRequest
Returns the request source. This method is used internally.- Specified by:
getSrc
in classXMLRequest
- Returns:
- Source
-
allowImmediateStart
public void allowImmediateStart(boolean flag) This method can be used to set the behaviour in case the start time lies in the past. The default value istrue
for compatibility reasons.- Parameters:
flag
- true if an UC4 Object should be allowed to start immediately, false if not.
-
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
-
modifyFirstTimeTask
public void modifyFirstTimeTask()This method will set the startImmediate to Zero.
-