Package com.uc4.api.objects
Class EventAttributes
java.lang.Object
com.uc4.api.objects.EventAttributes
Attributes of this event object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the deactivate condition for this Job.Returns the setting for extended reports.Returns the internal account assigned to this Job.intPriority with which this Job should be executed in UC4.getQueue()Returns the Queue Object.Returns the start type of this Job.Returns the TimeZone that is to be used.booleanReturnstrueif the Job should not be generated at activation time but rather at runtime.Returns settings for parallel tasks.voidsetDeactivate(DeactivateCondition deactivate) Sets the deactivate condition for this Job.voidsetExtendedReports(ExtendedReports extendedReports) Sets the option for extended reports.voidsetGenerateAtRuntime(boolean value) Sets or clears the Generate at runtime check box.voidsetIntAccount(String intAccount) Sets the internal account, max.voidsetPriority(int priority) Priority with which this Job should be executed in UC4.voidsetQueue(UC4ObjectName queue) Sets the Queue that will be used when this object is executed.voidsetStartType(UC4ObjectName startType) Sets the start type of this Job.voidsetTimezone(UC4TimezoneName timezone) Sets the TimeZone for this job.protected void
-
Constructor Details
-
EventAttributes
protected EventAttributes(com.uc4.util.XMLDocument doc)
-
-
Method Details
-
store
-
getQueue
Returns the Queue Object.- Returns:
- Name of the Queue Object
-
setQueue
Sets the Queue that will be used when this object is executed.- Parameters:
queue- Name of the Queue Object
-
getStartType
Returns the start type of this Job.- Returns:
- Start type
-
setStartType
Sets the start type of this Job.- Parameters:
startType- Start type
-
getIntAccount
Returns the internal account assigned to this Job.- Returns:
- Internal account
-
setIntAccount
Sets the internal account, max. 20 characters.- Parameters:
intAccount- internal account
-
isGenerateAtRuntime
public boolean isGenerateAtRuntime()Returnstrueif the Job should not be generated at activation time but rather at runtime.- Returns:
trueif the Generate at runtime check box is selected
-
setGenerateAtRuntime
public void setGenerateAtRuntime(boolean value) Sets or clears the Generate at runtime check box. ifvalueistruethe check box is set.- Parameters:
value- Generate at runtime
-
getPriority
public int getPriority()Priority with which this Job should be executed in UC4. Permitted values: 0 to 255
Default: 0
1 stands for highest, 255 for lowest priority. If 0 is chosen, the priority defined in the UC_CLIENT_SETTINGS variables with TASK_PRIORITY for local clients is used. If no default priority is set or if no variable is present in the local clients, then 200 is assigned as the valid priority.- Returns:
- priority
-
setPriority
public void setPriority(int priority) Priority with which this Job should be executed in UC4. Permitted values: 0 to 255
Default: 0
1 stands for highest, 255 for lowest priority. If 0 is chosen, the priority defined in the UC_CLIENT_SETTINGS variables with TASK_PRIORITY for local clients is used. If no default priority is set or if no variable is present in the local clients, then 200 is assigned as the valid priority.- Parameters:
priority- Priority
-
maxParallel
Returns settings for parallel tasks.- Returns:
- parallel task settings
-
getTimezone
Returns the TimeZone that is to be used.- Returns:
- TimeZone
-
setTimezone
Sets the TimeZone for this job.- Parameters:
timezone- TimeZone
-
getDeactivate
Returns the deactivate condition for this Job.- Returns:
- Deactivate condition
-
setDeactivate
Sets the deactivate condition for this Job.- Parameters:
deactivate- Deactivate condition
-
getExtendedReports
Returns the setting for extended reports.- Returns:
- Extended reports.
-
setExtendedReports
Sets the option for extended reports.- Parameters:
extendedReports- Extended reports.
-