| org.quartz.TriggerListener
All known Subclasses: org.quartz.listeners.TriggerListenerSupport, org.quartz.listeners.FilterAndBroadcastTriggerListener, org.quartz.plugins.history.LoggingTriggerHistoryPlugin,
TriggerListener | public interface TriggerListener (Code) | |
The interface to be implemented by classes that want to be informed when a
Trigger fires. In general, applications that use a
Scheduler will not have use for this mechanism.
See Also: Scheduler See Also: Trigger See Also: JobListener See Also: JobExecutionContext author: James House |
getName | String getName()(Code) | |
Get the name of the TriggerListener .
|
triggerComplete | void triggerComplete(Trigger trigger, JobExecutionContext context, int triggerInstructionCode)(Code) | |
Called by the
Scheduler when a
Trigger
has fired, it's associated
org.quartz.JobDetail
has been executed, and it's triggered(xx) method has been
called.
Parameters: trigger - The Trigger that was fired. Parameters: context - The JobExecutionContext that was passed to theJob 'sexecute(xx) method. Parameters: triggerInstructionCode - the result of the call on the Trigger 'striggered(xx) method. |
triggerFired | void triggerFired(Trigger trigger, JobExecutionContext context)(Code) | |
Called by the
Scheduler when a
Trigger
has fired, and it's associated
org.quartz.JobDetail
is about to be executed.
It is called before the vetoJobExecution(..) method of this
interface.
Parameters: trigger - The Trigger that has fired. Parameters: context - The JobExecutionContext that will be passed tothe Job 'sexecute(xx) method. |
triggerMisfired | void triggerMisfired(Trigger trigger)(Code) | |
Called by the
Scheduler when a
Trigger
has misfired.
Consideration should be given to how much time is spent in this method,
as it will affect all triggers that are misfiring. If you have lots
of triggers misfiring at once, it could be an issue it this method
does a lot.
Parameters: trigger - The Trigger that has misfired. |
vetoJobExecution | boolean vetoJobExecution(Trigger trigger, JobExecutionContext context)(Code) | |
Called by the
Scheduler when a
Trigger
has fired, and it's associated
org.quartz.JobDetail
is about to be executed.
It is called after the triggerFired(..) method of this
interface.
Parameters: trigger - The Trigger that has fired. Parameters: context - The JobExecutionContext that will be passed tothe Job 'sexecute(xx) method. |
|
|