|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This service provides a way to regularly schedule jobs.
| Field Summary | |
static java.lang.String |
ROLE
|
| Method Summary | |
void |
addTrigger(java.lang.String name,
TimeTrigger trigger,
Target target)
Schedule a time based trigger. |
void |
removeTrigger(java.lang.String name)
Remove a scheduled trigger by name. |
void |
resetTrigger(java.lang.String name)
Force a trigger time to be recalculated. |
void |
start()
|
| Field Detail |
public static final java.lang.String ROLE
| Method Detail |
public void addTrigger(java.lang.String name,
TimeTrigger trigger,
Target target)
name - the name of the triggertrigger - the triggertarget - the target
public void removeTrigger(java.lang.String name)
throws java.util.NoSuchElementException
name - the name of the trigger
java.util.NoSuchElementException - if no trigger exists with that name
public void resetTrigger(java.lang.String name)
throws java.util.NoSuchElementException
name - the name of the trigger
java.util.NoSuchElementException - if no trigger exists with that namepublic void start()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||