|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.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.
| Field Summary | |
|---|---|
static int |
CACHE_SIZE_DEFAULT
The default size of the schedulder job cache if module caching is on. |
static java.lang.String |
CACHE_SIZE_KEY
The key for the schedulder job cache size if module caching is on. |
static java.lang.String |
NAME
Represents Scheduled Job Objects |
static java.lang.String |
PREFIX
Prefix for scheduler job related classes |
| Constructor Summary | |
|---|---|
ScheduledJob()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPrefix()
Abstract method to provide the prefix for module related classes and templates |
abstract void |
run(JobEntry job)
Run the Jobentry from the scheduler queue. |
| Methods inherited from class org.apache.turbine.modules.Assembler |
|---|
getRunData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PREFIX
public static final java.lang.String CACHE_SIZE_KEY
public static final int CACHE_SIZE_DEFAULT
public static final java.lang.String NAME
| Constructor Detail |
|---|
public ScheduledJob()
| Method Detail |
|---|
public java.lang.String getPrefix()
Assembler
getPrefix in class AssemblerAssembler.getPrefix()
public abstract void run(JobEntry job)
throws java.lang.Exception
job - The job to run.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||