org.apache.cocoon.components.cron
Interface CronJob
- All Known Subinterfaces:
- ConfigurableCronJob
- All Known Implementing Classes:
- BasketManagerImpl.Job, CocoonPipelineCronJob, DelayRefresher, ServiceableCronJob, TestCronJob, UpdateTarget
- public interface CronJob
This is the interface a class has to implement to enable it to be scheduled by a JobScheduler
- Since:
- 2.1.1
- Version:
- CVS $Id: CronJob.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Giacomo Pati
Field Summary |
static String |
ROLE
The component role |
Method Summary |
void |
execute(String jobname)
This methods get called to allow an implementing class to do its supposed job |
ROLE
public static final String ROLE
- The component role
execute
public void execute(String jobname)
- This methods get called to allow an implementing class to do its supposed job
- Parameters:
jobname
- the name given to this job
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.