public interface JobListener
JobDetail executes. In general,
applications that use a Scheduler will not have use for this
mechanism.ListenerManager.addJobListener(JobListener, Matcher),
Matcher,
Job,
JobExecutionContext,
JobExecutionException,
TriggerListener| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of the
JobListener. |
void |
jobExecutionVetoed(JobExecutionContext context)
Called by the
when a
was about to be executed (an associated
has occurred), but a vetoed it's
execution. |
void |
jobToBeExecuted(JobExecutionContext context)
|
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
|
String getName()
Get the name of the JobListener.
void jobToBeExecuted(JobExecutionContext context)
Called by the when a Scheduler
is about to be executed (an associated JobDetail
has occurred).
Trigger
This method will not be invoked if the execution of the Job was vetoed
by a .
TriggerListener
jobExecutionVetoed(JobExecutionContext)void jobExecutionVetoed(JobExecutionContext context)
Called by the when a Scheduler
was about to be executed (an associated JobDetail
has occurred), but a Trigger vetoed it's
execution.
TriggerListener
jobToBeExecuted(JobExecutionContext)void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)
Copyright 2001-2019, Terracotta, Inc.