|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.examples.example4.ColorJob
public class ColorJob
This is just a simple job that receives parameters and maintains state
Field Summary | |
---|---|
static String |
EXECUTION_COUNT
|
static String |
FAVORITE_COLOR
|
Constructor Summary | |
---|---|
ColorJob()
Empty constructor for job initilization |
Method Summary | |
---|---|
void |
execute(JobExecutionContext context)
Called by the when a
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 |
Field Detail |
---|
public static final String FAVORITE_COLOR
public static final String EXECUTION_COUNT
Constructor Detail |
---|
public ColorJob()
Empty constructor for job initilization
Quartz requires a public empty constructor so that the scheduler can instantiate the class whenever it needs.
Method Detail |
---|
public void execute(JobExecutionContext context) throws JobExecutionException
Called by the
when a
Scheduler
fires that is associated with
the Trigger
Job
.
execute
in interface Job
JobExecutionException
- if there is an exception while executing the job.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |