public abstract class AbstractCronJob extends Object implements CronJob
| Constructor and Description |
|---|
AbstractCronJob() |
| Modifier and Type | Method and Description |
|---|---|
CronEntry |
getEntry() |
protected void |
init()
You can init by overriding this (no need to call super.init)
This is called by
init(CronEntry) |
void |
init(CronEntry cronEntry)
If the CronJobs needs some initializing before the first run, then that can be put in this.
|
abstract void |
run()
Implement this.
|
void |
stop()
Empty implementation (probably that's what you want)
|
protected CronEntry cronEntry
public final void init(CronEntry cronEntry)
init() instead (in which they can use the cronEntry member).protected void init()
init(CronEntry)public void stop()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}