|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISchedulerEntry
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 | |
|---|---|
String |
getID()
Get the unique id of the entry. |
int |
getPriority()
Get the priority of the entry. |
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(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 |
|---|
String getID()
String with the entry's id.int getPriority()
int with the entry's priority (a higher value
is a higher priority).
void setPriority(int priority)
throws com.sapportals.wcm.WcmException
priority - an int with the entry's priority (a higher
value is a higher priority).
com.sapportals.wcm.WcmException
boolean isRunning()
throws com.sapportals.wcm.WcmException
boolean true, if the entry's task
is currently being executed, false if not.
com.sapportals.wcm.WcmException - if the state could not be determined.
boolean isSuspended()
throws com.sapportals.wcm.WcmException
boolean true, if the entry's task
is suspended, false if not.
com.sapportals.wcm.WcmException - if the state could not be determined.
boolean isWaiting()
throws com.sapportals.wcm.WcmException
boolean true, if the entry's task
is currently neither being executed nor suspended,
false if not.
com.sapportals.wcm.WcmException - if the state could not be determined.
ISchedulerTask getTask()
throws com.sapportals.wcm.WcmException
ISchedulerTask with the task.
com.sapportals.wcm.WcmException - if the task could not be retrieved.
void setTask(ISchedulerTask task)
throws com.sapportals.wcm.WcmException
task - an ISchedulerTask with the task to execute.
com.sapportals.wcm.WcmException - if the scheduler entry could not be updated.
ISchedulerTimeTable getTimeTable()
throws com.sapportals.wcm.WcmException
ISchedulerTimeTable with the timetable.
com.sapportals.wcm.WcmException - if the timetable could not be retrieved.
void setTimeTable(ISchedulerTimeTable timetable)
throws com.sapportals.wcm.WcmException
timetable - an ISchedulerTimeTable with the timetable
to use.
com.sapportals.wcm.WcmException - if the timetable could not be set
Properties getProperties()
throws com.sapportals.wcm.WcmException
Properties for the task.
com.sapportals.wcm.WcmException - if the properties could not be retrieved.
void setProperties(Properties properties)
throws com.sapportals.wcm.WcmException
properties - the Properties for the task.
com.sapportals.wcm.WcmException - if the properties could not be set.ISystemList getSystemList()
ISchedulerTask
physically.
ISchedulerTask
physically.
void setSystemList(ISystemList systemList)
throws com.sapportals.wcm.WcmException
ISchedulerTask
physically.
systemList - The new systemList value
com.sapportals.wcm.WcmException - if the system list could not be set.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||