|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines the behavior for a scheduled task. This kind of task is to be executed once for each of the dates from the date list that is set up for the task.
Field Summary | |
static String |
TASK_KIND_SCHEDULED
The constant for a scheduled task. |
Fields inherited from interface com.sssw.fw.task.api.EbiTask |
TASK_OBJECT_ID |
Method Summary | |
Timestamp |
getDate(int dateIndex)
Given an index into the date list, gets the date pointed to by the index. |
int |
getDateIndex()
Gets the index pointing to the current date in the date list. |
Timestamp[] |
getDates()
Gets the date list specified for this task. |
Timestamp |
gotoNextDate()
Advances in the date list to the next date. |
boolean |
hasMoreDates()
Determines whether there is at least one more date in the date list. |
void |
setDates(Timestamp[] dates)
Sets up the date list. |
Methods implemented from interface com.sssw.fw.task.api.EbiTask |
doTask,
enable,
execute,
fromXML,
getContext,
getDescription,
getLaunchTime,
getName,
getSinceLast,
getTaskType,
getTimesRan,
getUserObject,
isEnabled,
isOfType,
isStarted,
setContext,
setDescription,
setLaunchTime,
setName,
setSinceLast,
setTaskType,
setTimesRan,
setUserObject,
start,
stop |
Methods implemented from interface com.sssw.fw.api.EbiElement |
getType |
Field Detail |
public static final String TASK_KIND_SCHEDULED
Method Detail |
public Timestamp getDate(int dateIndex)
dateIndex
- The index.public int getDateIndex()
public Timestamp[] getDates()
public Timestamp gotoNextDate()
public boolean hasMoreDates()
public void setDates(Timestamp[] dates)
dates
- The date list.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |