|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.quartz.examples.DumbInterruptableJob
A dumb implementation of an InterruptableJob, for unittesting purposes.
| Constructor Summary | |
DumbInterruptableJob()
|
|
| Method Summary | |
void |
execute(JobExecutionContext context)
Called by the when a
fires that is associated with the Job. |
void |
interrupt()
Called by the when a user
interrupts the Job. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DumbInterruptableJob()
| Method Detail |
public void execute(JobExecutionContext context)
throws JobExecutionException
Called by the when a Scheduler
fires that is associated with the TriggerJob.
execute in interface JobJobExecutionException - if there is an exception while executing the job.
public void interrupt()
throws UnableToInterruptJobException
Called by the when a user
interrupts the SchedulerJob.
interrupt in interface InterruptableJobJobExecutionException - if there is an exception while interrupting the job.
|
Quartz Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||