Package com.uc4.api.objects
Class ScheduleAttributes
- java.lang.Object
 - 
- com.uc4.api.objects.ScheduleAttributes
 
 
- 
public class ScheduleAttributes extends java.lang.ObjectThis class represents attributes of a Schedule. 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedScheduleAttributes(com.uc4.util.XMLDocument doc) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UC4ObjectNamegetChildrenQueue()Returns the name of the Queue Object for children of this Schedule.ExtendedReportsgetExtendedReports()Returns the setting for extended reports.java.lang.StringgetIntAccount()Returns the internal account assigned to this job.UC4ObjectNamegetOkStateExecute()Returns the object that is executed when a task does not have the expected end status.TaskStategetOkStateForTasks()Returns the end status that is expected for the subordinated tasks of the Schedule.intgetPeriod()Returns the period in days of this Schedule.intgetPriority()Priority with which this Job should be executed in the Automation Engine.UC4ObjectNamegetQueue()Returns the Queue Object.UC4ObjectNamegetStartType()Returns the start type of this job.UC4TimezoneNamegetTimezone()Returns the TimeZone that is to be used.TimegetTurnaround()Returns the turn around time of the Schedule.booleanisGenerateAtRuntime()Returnstrueif the Job should not be generated at activation time but rather at runtime.MaxParallelmaxParallel()Returns settings for parallel tasks.voidsetChildrenQueue(UC4ObjectName childrenQueue)Sets the name of the Queue Object for children of this Schedule.voidsetExtendedReports(ExtendedReports extendedReports)Sets the option for extended reports.voidsetGenerateAtRuntime(boolean generateAtRuntime)Enables or disables runtime generation.voidsetIntAccount(java.lang.String intAccount)Sets the internal account, max.voidsetOkStateExecute(UC4ObjectName okStateExecute)Sets the object that is executed when a task does not have the expected end status.voidsetOkStateForTasks(TaskState state)Sets the end status that is expected for the subordinated tasks of the Schedule.voidsetPeriod(int period)Sets the period of this Schedule.voidsetPriority(int i)Priority with which this Job should be executed in the Automation Engine.voidsetQueue(UC4ObjectName queue)Sets the Queue that will be used when this Automation Engine object is executed.voidsetStartType(UC4ObjectName startType)Sets the start type of this job.voidsetTimezone(UC4TimezoneName timezone)Sets the TimeZone for this Schedule.voidsetTurnaround(Time startTime)Sets the turn around time of the Schedule.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request) 
 - 
 
- 
- 
Method Detail
- 
getPeriod
public int getPeriod()
Returns the period in days of this Schedule.- Returns:
 - Period in days
 
 
- 
setPeriod
public void setPeriod(int period)
Sets the period of this Schedule. Values between 1 and 99 are allowed.- Parameters:
 period- Period
 
- 
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request) 
- 
getChildrenQueue
public UC4ObjectName getChildrenQueue()
Returns the name of the Queue Object for children of this Schedule.- Returns:
 - Name of the Queue or 
nullif *OWN has been set. 
 
- 
setChildrenQueue
public void setChildrenQueue(UC4ObjectName childrenQueue)
Sets the name of the Queue Object for children of this Schedule.- Parameters:
 childrenQueue- Name of the Queue (can be empty) ornullfor *OWN
 
- 
getQueue
public UC4ObjectName getQueue()
Returns the Queue Object.- Returns:
 - Name of the Queue Object
 
 
- 
setQueue
public void setQueue(UC4ObjectName queue)
Sets the Queue that will be used when this Automation Engine object is executed.- Parameters:
 queue- Name of the Queue Object
 
- 
getIntAccount
public java.lang.String getIntAccount()
Returns the internal account assigned to this job.- Returns:
 - internal account
 
 
- 
setIntAccount
public void setIntAccount(java.lang.String intAccount)
Sets the internal account, max. 20 characters.- Parameters:
 intAccount- internal account
 
- 
getStartType
public UC4ObjectName getStartType()
Returns the start type of this job.- Returns:
 - start type
 
 
- 
setStartType
public void setStartType(UC4ObjectName startType)
Sets the start type of this job.- Parameters:
 startType- start type
 
- 
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 generateAtRuntime)
Enables or disables runtime generation.- Parameters:
 generateAtRuntime- Generate at runtime
 
- 
getTurnaround
public Time getTurnaround()
Returns the turn around time of the Schedule.- Returns:
 - Turn around time
 
 
- 
setTurnaround
public void setTurnaround(Time startTime)
Sets the turn around time of the Schedule.- Parameters:
 startTime- Turn around time
 
- 
getPriority
public int getPriority()
Priority with which this Job should be executed in the Automation Engine. 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 i)
Priority with which this Job should be executed in the Automation Engine. 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:
 i- Priority
 
- 
maxParallel
public MaxParallel maxParallel()
Returns settings for parallel tasks.- Returns:
 - parallel task settings
 
 
- 
getTimezone
public UC4TimezoneName getTimezone()
Returns the TimeZone that is to be used.- Returns:
 - TimeZone
 
 
- 
setTimezone
public void setTimezone(UC4TimezoneName timezone)
Sets the TimeZone for this Schedule.- Parameters:
 timezone- TimeZone
 
- 
getOkStateForTasks
public TaskState getOkStateForTasks()
Returns the end status that is expected for the subordinated tasks of the Schedule.- Returns:
 - Expected end status
 
 
- 
setOkStateForTasks
public void setOkStateForTasks(TaskState state)
Sets the end status that is expected for the subordinated tasks of the Schedule.- Parameters:
 state- Expected end status
 
- 
getOkStateExecute
public UC4ObjectName getOkStateExecute()
Returns the object that is executed when a task does not have the expected end status.- Returns:
 - Name of the UC4 object which should be executed
 
 
- 
setOkStateExecute
public void setOkStateExecute(UC4ObjectName okStateExecute)
Sets the object that is executed when a task does not have the expected end status.- Parameters:
 okStateExecute- Name of the Automation Engine object which should be executed
 
- 
getExtendedReports
public ExtendedReports getExtendedReports()
Returns the setting for extended reports.- Returns:
 - Extended reports.
 
 
- 
setExtendedReports
public void setExtendedReports(ExtendedReports extendedReports)
Sets the option for extended reports.- Parameters:
 extendedReports- Extended reports.
 
 - 
 
 -