Package org.quartz.jobs
Interface Job
- All Known Subinterfaces:
InterruptableJob
public interface Job
The interface to be implemented by classes which represent a 'job' to be performed.
Instances of Job
must have a public
no-argument constructor.
JobDataMap
provides a mechanism for 'instance member data' that may be required
by some implementations of this interface.
- Author:
- James House
-
Method Summary
-
Method Details
-
execute
Called by the
when aScheduler
fires that is associated with theTrigger
Job
.The implementation may wish to set a
result
object on theJobExecutionContext
before this method exits. The result itself is meaningless to Quartz, but may be informative to
orJobListener
sTriggerListener
s- Throws:
JobExecutionException
- if there is an exception while executing the job.
-