org.quartz.examples
Class DumbJob

java.lang.Object
  extended byorg.quartz.examples.DumbJob
All Implemented Interfaces:
Job

public class DumbJob
extends java.lang.Object
implements Job

A dumb implementation of Job, for unittesting purposes.

Author:
James House

Constructor Summary
DumbJob()
           
 
Method Summary
 void execute(JobExecutionContext context)
           Called by the Scheduler when a Trigger fires that is associated with the Job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumbJob

public DumbJob()
Method Detail

execute

public void execute(JobExecutionContext context)
             throws JobExecutionException

Called by the Scheduler when a Trigger fires that is associated with the Job.

Specified by:
execute in interface Job
Returns:
void (nothing) if job is successful.
Throws:
JobExecutionException - if there is an exception while executing the job.

Quartz Project Page