Package com.uc4.communication.requests
Class ModifyRecurringTask
- java.lang.Object
-
- com.uc4.communication.requests.XMLRequest
-
- com.uc4.communication.requests.ModifyRecurringTask
-
public class ModifyRecurringTask extends XMLRequest
Modifies a recurring task.
-
-
Constructor Summary
Constructors Constructor Description ModifyRecurringTask(int runID, ExecuteRecurring reccuring)Creates aModifyRecurringTask.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallowImmediateStart(boolean flag)This method can be used to set the behaviour in case the start time lies in the past.protected voidcreateRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Creates the XML Document for the request.protected java.lang.StringgetSrc()Returns the request source.voidmodifyFirstTimeTask()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 Detail
-
ModifyRecurringTask
public ModifyRecurringTask(int runID, ExecuteRecurring reccuring)Creates aModifyRecurringTask.- Parameters:
runID- RunIDreccuring- ExecuteRecurring
-
-
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
-
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 istruefor 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, 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
-
modifyFirstTimeTask
public void modifyFirstTimeTask()
This method will set the startImmediate to Zero.
-
-