|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.scheduler.ScheduledJob
public abstract class ScheduledJob
All Scheduled jobs should extend this. The class that extends ScheduledJobs should contain the code that you actually want to execute at a specific time. The name of this class is what you register in the JobEntry.
| Constructor Summary | |
|---|---|
ScheduledJob()
|
|
| Method Summary | |
|---|---|
void |
execute(JobEntry job)
This is a stop gap until the scheduler service is fully decoupled from modules. |
abstract void |
run(JobEntry job)
Run the Jobentry from the scheduler queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduledJob()
| Method Detail |
|---|
public abstract void run(JobEntry job)
throws java.lang.Exception
job - The job to run.
java.lang.Exception
public void execute(JobEntry job)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||