org.oddjob.schedules.schedules
Class ParentChildSchedule
java.lang.Object
org.oddjob.schedules.schedules.ParentChildSchedule
- All Implemented Interfaces:
- Schedule
public class ParentChildSchedule
- extends Object
- implements Schedule
A help class for resolving a single parent/child schedule.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentChildSchedule
public ParentChildSchedule(Schedule parent,
Schedule child)
nextDue
public ScheduleResult nextDue(ScheduleContext context)
- Provides the next due interval for the parent and child.
- Specified by:
nextDue
in interface Schedule
- Returns:
- The next due interval for the schedule.