org.apache.cocoon.components.cron
Interface CronJob

All Known Subinterfaces:
ConfigurableCronJob
All Known Implementing Classes:
BasketManagerImpl.Job, CocoonPipelineCronJob, ServiceableCronJob, TestCronJob

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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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
 

Field Detail

ROLE

static final String ROLE
The component role

Method Detail

execute

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-2010 The Apache Software Foundation. All Rights Reserved.