public class Job1Listener extends Object implements JobListener
Constructor and Description |
---|
Job1Listener() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the
JobListener . |
void |
jobExecutionVetoed(JobExecutionContext inContext)
Called by the
when a
was about to be executed (an associated
has occurred), but a vetoed it's
execution. |
void |
jobToBeExecuted(JobExecutionContext inContext)
|
void |
jobWasExecuted(JobExecutionContext inContext,
JobExecutionException inException)
|
public String getName()
JobListener
Get the name of the JobListener
.
getName
in interface JobListener
public void jobToBeExecuted(JobExecutionContext inContext)
JobListener
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
jobToBeExecuted
in interface JobListener
JobListener.jobExecutionVetoed(JobExecutionContext)
public void jobExecutionVetoed(JobExecutionContext inContext)
JobListener
Called by the
when a Scheduler
was about to be executed (an associated JobDetail
has occurred), but a Trigger
vetoed it's
execution.
TriggerListener
jobExecutionVetoed
in interface JobListener
JobListener.jobToBeExecuted(JobExecutionContext)
public void jobWasExecuted(JobExecutionContext inContext, JobExecutionException inException)
JobListener
Called by the
after a Scheduler
has been executed, and be for the associated JobDetail
Trigger
's
triggered(xx)
method has been called.
jobWasExecuted
in interface JobListener
Copyright © 2013. All Rights Reserved.