org.treesched
Interface RefineableSchedule

All Superinterfaces:
Schedule
All Known Implementing Classes:
AbstractSchedule, ScheduleList

public interface RefineableSchedule
extends Schedule

Interface for a schedule that can be refined by the addition of a sub schedule. This is designed to aid applications which are building a schedule from some kind of configuration file.


Method Summary
 void addChildSchedule(Schedule schedule)
          Add a child schedule of the given name.
 
Methods inherited from interface org.treesched.Schedule
nextDue, reset, setLimits
 

Method Detail

addChildSchedule

public void addChildSchedule(Schedule schedule)
Add a child schedule of the given name. The implementing class will typically use a factory to create the schedule, add it to it's list of child schedules, and return it so that it's attributes may be set by the calling application.

Parameters:
schedule - The child schedule.