|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oddjob.schedules.AbstractSchedule
org.oddjob.schedules.schedules.AfterSchedule
This can be useful when wanting a schedule to begin at the end of an interval instead of the beginning.
<after> <interval interval="00:20"/> </after>
| Constructor Summary | |
AfterSchedule()
|
|
| Method Summary | |
Interval |
nextDue(ScheduleContext context)
For a given date a schedule will provide the interval this schedule should next be scheduled in. |
| Methods inherited from class org.oddjob.schedules.AbstractSchedule |
addValueSchedule, getChildSchedule, getLimits, setChildSchedule, setLimits |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AfterSchedule()
| Method Detail |
public Interval nextDue(ScheduleContext context)
ScheduleIf the schedule is never due again for the given date, null is returned.
nextDue in interface Schedule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||