|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.treesched.AbstractSchedule
org.treesched.schedules.OccurrenceSchedule
This schedule counts the occurence's of it's child schedule and returns the required occurence.
Typical configuration is:
<occurrence occurrence="2">
<weekly/>
</occurrence>
| Constructor Summary | |
OccurrenceSchedule()
|
|
| Method Summary | |
java.lang.String |
getOccurrence()
Return the number of the occurrence for this schedule. |
Interval |
nextDue(java.util.Date now)
Return the next due interval which is the given occurrence of it's child schedules. |
void |
setOccurrence(java.lang.String occurrence)
Set the number of the occurrence for this schedule. |
java.lang.String |
toString()
Override toString. |
| Methods inherited from class org.treesched.AbstractSchedule |
addChildSchedule, getChildSchedule, getLimits, reset, setChildSchedule, setLimits |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OccurrenceSchedule()
| Method Detail |
public void setOccurrence(java.lang.String occurrence)
occurrence - The occurence.public java.lang.String getOccurrence()
public Interval nextDue(java.util.Date now)
nextDue in interface Schedulenow - The date now.
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||