public class ScheduleAttributes
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ScheduleAttributes(com.uc4.util.XMLDocument doc) |
Modifier and Type | Method and Description |
---|---|
UC4ObjectName |
getChildrenQueue()
Returns the name of the Queue Object for children of this Schedule.
|
ExtendedReports |
getExtendedReports()
Returns the setting for extended reports.
|
java.lang.String |
getIntAccount()
Returns the internal account assigned to this job.
|
UC4ObjectName |
getOkStateExecute()
Returns the object that is executed when a task does not have the expected end status.
|
TaskState |
getOkStateForTasks()
Returns the end status that is expected for the subordinated tasks of the Schedule.
|
int |
getPeriod()
Returns the period in days of this Schedule.
|
int |
getPriority()
Priority with which this Job should be executed in the Automation Engine.
|
UC4ObjectName |
getQueue()
Returns the Queue Object.
|
UC4ObjectName |
getStartType()
Returns the start type of this job.
|
UC4TimezoneName |
getTimezone()
Returns the TimeZone that is to be used.
|
Time |
getTurnaround()
Returns the turn around time of the Schedule.
|
boolean |
isGenerateAtRuntime()
Returns
true if the Job should not be generated at activation time but rather at runtime. |
MaxParallel |
maxParallel()
Returns settings for parallel tasks.
|
void |
setChildrenQueue(UC4ObjectName childrenQueue)
Sets the name of the Queue Object for children of this Schedule.
|
void |
setExtendedReports(ExtendedReports extendedReports)
Sets the option for extended reports.
|
void |
setGenerateAtRuntime(boolean generateAtRuntime)
Enables or disables runtime generation.
|
void |
setIntAccount(java.lang.String intAccount)
Sets the internal account, max.
|
void |
setOkStateExecute(UC4ObjectName okStateExecute)
Sets the object that is executed when a task does not have the expected end status.
|
void |
setOkStateForTasks(TaskState state)
Sets the end status that is expected for the subordinated tasks of the Schedule.
|
void |
setPeriod(int period)
Sets the period of this Schedule.
|
void |
setPriority(int i)
Priority with which this Job should be executed in the Automation Engine.
|
void |
setQueue(UC4ObjectName queue)
Sets the Queue that will be used when this Automation Engine object is executed.
|
void |
setStartType(UC4ObjectName startType)
Sets the start type of this job.
|
void |
setTimezone(UC4TimezoneName timezone)
Sets the TimeZone for this Schedule.
|
void |
setTurnaround(Time startTime)
Sets the turn around time of the Schedule.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request) |
public int getPeriod()
public void setPeriod(int period)
period
- Periodprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
public UC4ObjectName getChildrenQueue()
null
if *OWN has been set.public void setChildrenQueue(UC4ObjectName childrenQueue)
childrenQueue
- Name of the Queue (can be empty) or null
for *OWNpublic UC4ObjectName getQueue()
public void setQueue(UC4ObjectName queue)
queue
- Name of the Queue Objectpublic java.lang.String getIntAccount()
public void setIntAccount(java.lang.String intAccount)
intAccount
- internal accountpublic UC4ObjectName getStartType()
public void setStartType(UC4ObjectName startType)
startType
- start typepublic boolean isGenerateAtRuntime()
true
if the Job should not be generated at activation time but rather at runtime.true
if the Generate at runtime check box is selectedpublic void setGenerateAtRuntime(boolean generateAtRuntime)
generateAtRuntime
- Generate at runtimepublic Time getTurnaround()
public void setTurnaround(Time startTime)
startTime
- Turn around timepublic int getPriority()
public void setPriority(int i)
i
- Prioritypublic MaxParallel maxParallel()
public UC4TimezoneName getTimezone()
public void setTimezone(UC4TimezoneName timezone)
timezone
- TimeZonepublic TaskState getOkStateForTasks()
public void setOkStateForTasks(TaskState state)
state
- Expected end statuspublic UC4ObjectName getOkStateExecute()
public void setOkStateExecute(UC4ObjectName okStateExecute)
okStateExecute
- Name of the Automation Engine object which should be executedpublic ExtendedReports getExtendedReports()
public void setExtendedReports(ExtendedReports extendedReports)
extendedReports
- Extended reports.