|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Scheduler entries contain data for scheduler tasks.
An ISchedulerEntry represents an entry in the
IScheduler's internal list.
Each entry has a unique id, specifies the task to execute and a timetable,
which specifies the scheduling timetable (when to execute the task).
In addition, there might be some (String-)parameters for the task, passed as
properties.
Copyright 2004 SAP AG
ISchedulerService| Method Summary | |
java.lang.String |
getID()
Get the unique id of the entry. |
int |
getPriority()
Get the priority of the entry. |
java.util.Properties |
getProperties()
Get the properties to pass to the task of the entry. |
ISystemList |
getSystemList()
Gets the ID of the CM system where to run the ISchedulerTask
physically. |
ISchedulerTask |
getTask()
Get the task for the entry. |
ISchedulerTimeTable |
getTimeTable()
Get the timetable for the entry. |
boolean |
isRunning()
Check if the entry is running(currently being executed). |
boolean |
isSuspended()
Check if the entry is suspended (currently inactive and not waiting). |
boolean |
isWaiting()
Check if the entry is not suspended and not active. |
void |
setPriority(int priority)
Set the priority of the entry. |
void |
setProperties(java.util.Properties properties)
Set the entry's properties to pass to the task. |
void |
setSystemList(ISystemList systemList)
Sets the ID of the CM system where to run the ISchedulerTask
physically. |
void |
setTask(ISchedulerTask task)
Set the entry's task. |
void |
setTimeTable(ISchedulerTimeTable timetable)
Set the entry's timetable. |
| Method Detail |
public java.lang.String getID()
String with the entry's id.public int getPriority()
int with the entry's priority (a higher value
is a higher priority).
public void setPriority(int priority)
throws WcmException
priority - an int with the entry's priority (a higher
value is a higher priority).
public boolean isRunning()
throws WcmException
boolean true, if the entry's task
is currently being executed, false if not.WcmException - if the state could not be determined.
public boolean isSuspended()
throws WcmException
boolean true, if the entry's task
is suspended, false if not.WcmException - if the state could not be determined.
public boolean isWaiting()
throws WcmException
boolean true, if the entry's task
is currently neither being executed nor suspended,
false if not.WcmException - if the state could not be determined.
public ISchedulerTask getTask()
throws WcmException
ISchedulerTask with the task.WcmException - if the task could not be retrieved.
public void setTask(ISchedulerTask task)
throws WcmException
task - an ISchedulerTask with the task to execute.WcmException - if the scheduler entry could not be updated.
public ISchedulerTimeTable getTimeTable()
throws WcmException
ISchedulerTimeTable with the timetable.WcmException - if the timetable could not be retrieved.
public void setTimeTable(ISchedulerTimeTable timetable)
throws WcmException
timetable - an ISchedulerTimeTable with the timetable
to use.WcmException - if the timetable could not be set
public java.util.Properties getProperties()
throws WcmException
Properties for the task.WcmException - if the properties could not be retrieved.
public void setProperties(java.util.Properties properties)
throws WcmException
properties - the Properties for the task.WcmException - if the properties could not be set.public ISystemList getSystemList()
ISchedulerTask
physically.ISchedulerTask
physically.
public void setSystemList(ISystemList systemList)
throws WcmException
ISchedulerTask
physically.systemList - The new systemList valueWcmException - if the system list could not be set.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||