public class Schedule extends UC4Object implements LifecycleSaveAware
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
void |
addTask(ScheduleTask task)
Adds a task to the Schedule.
|
void |
afterSaveObject()
Called after an object is saved.
|
ScheduleAttributes |
attributes()
Returns the attributes of this Schedule.
|
java.lang.String |
getProcess()
Returns the content of the "Process" tab.
|
XHeader |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
boolean |
isTurnaroundWarning()
Returns whether the turnaround warning exists in this Schedule.
|
protected void |
loadContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes info) |
Runtime |
runtime()
Returns runtime information of this job.
|
void |
setProcess(java.lang.String script)
Sets the content of the "Process" tab.
|
protected void |
storeContent(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element objectElement,
ConnectionAttributes sessionInfo)
Stores the object specific data under the
objectElement element. |
SyncList |
syncs()
Returns a
SyncList object which contains sync conditions
of this object. |
java.util.Iterator<ScheduleTask> |
taskIterator()
Returns an iterator over
ScheduleTask . |
int |
taskSize()
Returns the number of tasks in this Schedule.
|
ObjectValues |
values() |
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes info)
public SyncList syncs()
SyncList
object which contains sync conditions
of this object.public java.util.Iterator<ScheduleTask> taskIterator()
ScheduleTask
.public ScheduleAttributes attributes()
public Runtime runtime()
public java.lang.String getProcess()
public void addTask(ScheduleTask task)
task
- Schedule Taskpublic void setProcess(java.lang.String script)
script
- Scriptpublic XHeader header()
public ObjectValues values()
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
UC4Object
objectElement
element.doc
- XML Document, used to create subelementsobjectElement
- the newly created elements are children of the objectElement
elementsessionInfo
- Information about the current sessionpublic int taskSize()
public boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object
public boolean isTurnaroundWarning()
public void afterSaveObject()
LifecycleSaveAware
afterSaveObject
in interface LifecycleSaveAware