|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.quartz.jobs.FileScanJob
Inspects a file and compares whether it's "last modified date" has changed
since the last time it was inspected. If the file has been updated, the
job invokes a "call-back" method on an identified
FileScanListener that can be found in the
SchedulerContext.
FileScanListener| Field Summary | |
static java.lang.String |
FILE_NAME
|
static java.lang.String |
FILE_SCAN_LISTENER_NAME
|
| Constructor Summary | |
FileScanJob()
|
|
| 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 java.lang.String FILE_NAME
public static java.lang.String FILE_SCAN_LISTENER_NAME
| Constructor Detail |
public FileScanJob()
| Method Detail |
public void execute(JobExecutionContext context)
throws JobExecutionException
Job
Called by the when a Scheduler
fires that is associated with the TriggerJob.
The implementation may wish to set a
result object on the
JobExecutionContext before this method exits. The result itself
is meaningless to Quartz, but may be informative to
or
JobListeners that are watching the job's
execution.
TriggerListeners
execute in interface JobJobExecutionException - if there is an exception while executing the job.Job.execute(org.quartz.JobExecutionContext)
|
Quartz Project Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||