org.mmbase.applications.crontab
Class RunnableCronJob

java.lang.Object
  extended byorg.mmbase.applications.crontab.AbstractCronJob
      extended byorg.mmbase.applications.crontab.RunnableCronJob
All Implemented Interfaces:
CronJob, Runnable

public class RunnableCronJob
extends AbstractCronJob

Just wraps a Runnable into a CronJob.

Since:
MMBase-1.8
Author:
Michiel Meeuwissen

Field Summary
protected  Runnable runnable
           
 
Fields inherited from class org.mmbase.applications.crontab.AbstractCronJob
cronEntry
 
Constructor Summary
RunnableCronJob(Runnable run)
           
 
Method Summary
 void run()
          Implement this.
 
Methods inherited from class org.mmbase.applications.crontab.AbstractCronJob
init, init, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runnable

protected final Runnable runnable
Constructor Detail

RunnableCronJob

public RunnableCronJob(Runnable run)
Method Detail

run

public void run()
Description copied from class: AbstractCronJob
Implement this.

Specified by:
run in interface CronJob
Specified by:
run in class AbstractCronJob


MMBase build 1.8.1.20060716