public interface TimeScheduler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
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() |
void addTrigger(java.lang.String name, TimeTrigger trigger, Target target)
name
- the name of the triggertrigger
- the triggertarget
- the targetvoid removeTrigger(java.lang.String name) throws java.util.NoSuchElementException
name
- the name of the triggerjava.util.NoSuchElementException
- if no trigger exists with that namevoid resetTrigger(java.lang.String name) throws java.util.NoSuchElementException
name
- the name of the triggerjava.util.NoSuchElementException
- if no trigger exists with that namevoid start()
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.