|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.treesched.ant.TopScheduleElement
The class is the represents the top element of a schedule in an Ant build file.
| Constructor Summary | |
TopScheduleElement()
|
|
| Method Summary | |
java.lang.Object |
createDynamicElement(java.lang.String name)
|
Interval |
nextDue(java.util.Date now)
For a given date a schedule will provide the interval this schedule should next be scheduled in. |
void |
reset()
Reset the schedule. |
void |
setDynamicAttribute(java.lang.String name,
java.lang.String value)
|
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 |
| Constructor Detail |
public TopScheduleElement()
| Method Detail |
public void setLimits(Interval limits)
ScheduleSchedule.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 nextDue(java.util.Date now)
ScheduleIf the schedule is never due again for the given date, null is returned.
nextDue in interface Schedulenow - The date now.
public void reset()
Schedule
reset in interface Schedule
public void setDynamicAttribute(java.lang.String name,
java.lang.String value)
throws org.apache.tools.ant.BuildException
setDynamicAttribute in interface org.apache.tools.ant.DynamicConfiguratororg.apache.tools.ant.BuildException
public java.lang.Object createDynamicElement(java.lang.String name)
throws org.apache.tools.ant.BuildException
createDynamicElement in interface org.apache.tools.ant.DynamicConfiguratororg.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||