org.quartz.listeners
| |||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
|---|---|
JobChainingJobListener(String name)
Construct an instance with the given name. |
|
| Method Summary | |
|---|---|
void |
addJobChainLink(Key firstJob,
Key secondJob)
Add a chain mapping - when the Job identified by the first key completes the job identified by the second key will be triggered. |
String |
getName()
Get the name of the JobListener. |
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
Called by the after a
has been executed, and be for the associated Trigger's
triggered(xx) method has been called. |
| Methods inherited from class org.quartz.listeners.JobListenerSupport |
|---|
getLog, jobExecutionVetoed, jobToBeExecuted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobChainingJobListener(String name)
name - the name of this instance| Method Detail |
|---|
public String getName()
JobListener
Get the name of the JobListener.
public void addJobChainLink(Key firstJob, Key secondJob)
firstJob - a Key with the name and group of the first jobsecondJob - a Key with the name and group of the follow-up jobpublic void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)
JobListener
Called by the after a Scheduler
has been executed, and be for the associated JobDetailTrigger's
triggered(xx) method has been called.
jobWasExecuted in interface JobListenerjobWasExecuted in class JobListenerSupport
|
Quartz Enterprise Job Scheduler Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||