|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface to be implemented by classes that want to be informed when a
fires. In general, applications that use a
TriggerScheduler will not have use for this mechanism.
Scheduler,
Trigger,
JobListener,
JobExecutionContext| Method Summary | |
java.lang.String |
getName()
Get the name of the TriggerListener. |
void |
triggerComplete(Trigger trigger,
JobExecutionContext context,
int triggerInstructionCode)
Called by the when a
has fired, it's associated
has been executed, and it's triggered(xx) method has been
called. |
void |
triggerFired(Trigger trigger,
JobExecutionContext context)
Called by the when a
has fired, and it's associated
is about to be executed. |
void |
triggerMisfired(Trigger trigger)
Called by the when a
has misfired. |
boolean |
vetoJobExecution(Trigger trigger,
JobExecutionContext context)
Called by the when a
has fired, and it's associated
is about to be executed. |
| Method Detail |
public java.lang.String getName()
Get the name of the TriggerListener.
public void triggerFired(Trigger trigger,
JobExecutionContext context)
Called by the when a Scheduler
has fired, and it's associated Trigger
is about to be executed.
JobDetail
It is called before the vetoJobExecution(..) method of this
interface.
trigger - The Trigger that has fired.context - The JobExecutionContext that will be passed to
the Job'sexecute(xx) method.
public boolean vetoJobExecution(Trigger trigger,
JobExecutionContext context)
Called by the when a Scheduler
has fired, and it's associated Trigger
is about to be executed.
JobDetail
It is called after the triggerFired(..) method of this
interface.
trigger - The Trigger that has fired.context - The JobExecutionContext that will be passed to
the Job'sexecute(xx) method.public void triggerMisfired(Trigger trigger)
Called by the when a Scheduler
has misfired.
Trigger
trigger - The Trigger that has misfired.
public void triggerComplete(Trigger trigger,
JobExecutionContext context,
int triggerInstructionCode)
Called by the when a Scheduler
has fired, it's associated Trigger
has been executed, and it's JobDetailtriggered(xx) method has been
called.
trigger - The Trigger that was fired.context - The JobExecutionContext that was passed to the
Job'sexecute(xx) method.triggerIntructionCode - the result of the call on the Trigger'striggered(xx)
method.
|
Quartz Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||