|
|||||||||||
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 |
addTriggerFailureListener(TriggerFailureListener listener)
Add a trigger failure listener |
void |
removeTrigger(java.lang.String name)
Remove a scheduled trigger by name. |
void |
removeTriggerFailureListener(TriggerFailureListener listener)
Remove a trigger failure listener |
void |
resetTrigger(java.lang.String name)
Force a trigger time to be recalculated. |
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 targetpublic 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 namepublic 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 addTriggerFailureListener(TriggerFailureListener listener)
listener
- the listenerpublic void removeTriggerFailureListener(TriggerFailureListener listener)
listener
- the listener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |