Package com.uc4.api.objects
Class Schedule
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.Schedule
- All Implemented Interfaces:
- LifecycleSaveAware
Schedule.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddTask(ScheduleTask task) Adds a task to the Schedule.voidCalled after an object is saved.Returns the attributes of this Schedule.Returns the content of the "Process" tab.header()Returns the header data of this object.booleanReturnstrueif this Object can be executed.booleanReturns whether the turnaround warning exists in this Schedule.protected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info) voidruntime()Returns runtime information of this job.voidsetProcess(String script) Sets the content of the "Process" tab.protected voidstoreContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) syncs()Returns aSyncListobject which contains sync conditions of this object.Returns an iterator overScheduleTask.inttaskSize()Returns the number of tasks in this Schedule.values()Methods inherited from class com.uc4.api.objects.UC4Objectdocu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
- 
Constructor Details- 
Schedulepublic Schedule()
 
- 
- 
Method Details- 
loadContent
- 
syncsReturns aSyncListobject which contains sync conditions of this object.- Returns:
- sync conditions
 
- 
taskIteratorReturns an iterator overScheduleTask.- Returns:
- iterator over Schedule tasks.
 
- 
attributesReturns the attributes of this Schedule.- Returns:
- Attributes of this Schedule
 
- 
runtimeReturns runtime information of this job. This corresponds to the "Runtime" tab in the dialog client.- Returns:
- Runtime information
 
- 
getProcessReturns the content of the "Process" tab.- Returns:
- JCL
 
- 
addTaskAdds a task to the Schedule.- Parameters:
- task- Schedule Task
 
- 
setProcessSets the content of the "Process" tab.- Parameters:
- script- Script
 
- 
headerReturns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
 
- 
values- Returns:
- Variables of this object
 
- 
storeContentprotected void storeContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) 
- 
taskSizepublic int taskSize()Returns the number of tasks in this Schedule.- Returns:
- Number of tasks
 
- 
isExecutablepublic boolean isExecutable()Description copied from class:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
- isExecutablein class- UC4Object
- Returns:
- true if the Object can be executed, false if not.
 
- 
isTurnaroundWarningpublic boolean isTurnaroundWarning()Returns whether the turnaround warning exists in this Schedule.- Returns:
- turnaroundWarning
 
- 
afterSaveObjectpublic void afterSaveObject()Description copied from interface:LifecycleSaveAwareCalled after an object is saved.- Specified by:
- afterSaveObjectin interface- LifecycleSaveAware
 
- 
removeAllTaskspublic void removeAllTasks()
 
-