|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oddjob.schedules.AbstractSchedule
Proved a basis of common functionality for schedules.
| Constructor Summary | |
AbstractSchedule()
|
|
| Method Summary | |
void |
addValueSchedule(Schedule schedule)
Add a child schedule of the given name. |
Schedule |
getChildSchedule()
Return the child schedule. |
Interval |
getLimits()
Get any limits set for this schedule. |
void |
setChildSchedule(Schedule schedule)
Set the child schedule. |
void |
setLimits(Interval limits)
Specifies limits for the schedule. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.oddjob.schedules.Schedule |
nextDue |
| Constructor Detail |
public AbstractSchedule()
| Method Detail |
public void setLimits(Interval limits)
Schedule#nextDue(Date)
must be within the limits.
A repeating schedule will also use the start of the limit to calculate the boundry between intervals.
setLimits in interface Schedulelimits - The interval which bounds the schedule.public Interval getLimits()
public void setChildSchedule(Schedule schedule)
schedule - The child schedule.public void addValueSchedule(Schedule schedule)
RefineableSchedule
addValueSchedule in interface RefineableScheduleschedule - The child schedule.public Schedule getChildSchedule()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||