|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Timetables for the scheduler.
An ISchedulerTimeTable represents a timetable which specifies
the times, when an ISchedulerTask has to be executed by the
IScheduler. Such a timetable can have a start- and/or an end-
time and at least one ISchedulerTime which defines the
times.
Simply think of it like a school timetable, where the several entries (the
times) denote repeating lessings.
Copyright 2004 SAP AG
ISchedulerService,
ISchedulerTime| Method Summary | |
void |
addToTable(ISchedulerTime time)
Add an time to the times of the timetable. |
ISchedulerTimeTable |
copy()
Performs a deep copy of the time table. |
java.util.Date |
getStartTime()
Get the starting date for the timetable. |
java.util.Date |
getStopTime()
Get the ending date for the timetable. |
ISchedulerTimeList |
getTable()
Deprecated. since KM5.0SP6 |
ISchedulerTime |
getTime(java.util.Date date)
Returns a time object that matches the specific date. |
boolean |
isInTable(java.util.Date date)
Test, if a given date is in the timetable. |
ISchedulerTime |
removeFromTable(ISchedulerTime time)
|
void |
setStartTime(java.util.Date start)
Set the starting date for the timetable. |
void |
setStopTime(java.util.Date stop)
Set the ending date for the timetable. |
void |
setTable(ISchedulerTime time)
Deprecated. since KM5.0SP6 |
void |
setTable(ISchedulerTimeList timelist)
Deprecated. since KM5.0SP6 |
int |
size()
Returns the size of this table. |
ISchedulerTime[] |
toArray()
Converts the content of this time table to an array. |
| Method Detail |
public boolean isInTable(java.util.Date date)
date - the Date to check.boolean true if the date is in the
timetable, false if it's not.public ISchedulerTime getTime(java.util.Date date)
date - public java.util.Date getStartTime()
Date with the starting point of the timetable
or null if not defined.
public void setStartTime(java.util.Date start)
throws WcmException
start - a Date with the starting point for the
timetable or null if not start time defined.public java.util.Date getStopTime()
Date with the ending point of the timetable.
or null if not defined.
public void setStopTime(java.util.Date stop)
throws WcmException
stop - a Date with the ending point for the
timetable or null if not stop time defined.public ISchedulerTimeList getTable()
ISchedulerTimeList with the valid times of this
table for the scheduler.
public void setTable(ISchedulerTimeList timelist)
throws WcmException
timelist - a ISchedulerTimeList with the valid times
for the scheduler.
public void setTable(ISchedulerTime time)
throws WcmException
time - a ISchedulerTime with the one time
for the scheduler.
public void addToTable(ISchedulerTime time)
throws WcmException
time - a ISchedulerTime with the one time
for the scheduler to add.
public ISchedulerTime removeFromTable(ISchedulerTime time)
throws WcmException
time - public ISchedulerTime[] toArray()
public int size()
public ISchedulerTimeTable copy()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||