org.quartz.examples.example5
Class StatefulDumbJob
java.lang.Object
org.quartz.examples.example5.StatefulDumbJob
- All Implemented Interfaces:
- Job, StatefulJob
public class StatefulDumbJob
- extends Object
- implements StatefulJob
A dumb implementation of Job, for unittesting purposes.
- Author:
- James House
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_EXECUTIONS
public static final String NUM_EXECUTIONS
- See Also:
- Constant Field Values
EXECUTION_DELAY
public static final String EXECUTION_DELAY
- See Also:
- Constant Field Values
StatefulDumbJob
public StatefulDumbJob()
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
- Throws:
JobExecutionException
- if there is an exception while executing the job.
Copyright © 2010. All Rights Reserved.