KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > schedules > RefineableSchedule


1 package org.oddjob.schedules;
2
3 /**
4  * Interface for a schedule that can be refined by the addition of
5  * a sub schedule. This is designed to aid applications which are
6  * building a schedule from some kind of configuration file.
7  */

8 public interface RefineableSchedule extends Schedule {
9
10     /**
11      * Add a child schedule of the given name. The implementing class
12      * will typically use a factory to create the schedule, add it to
13      * it's list of child schedules, and return it so that it's attributes
14      * may be set by the calling application.
15      *
16      * @param schedule The child schedule.
17      */

18     public void addValueSchedule(Schedule schedule);
19 }
20
Popular Tags