This project has retired. For details please refer to its
Attic page .
CocoonPipelineCronJob (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.cron
Class CocoonPipelineCronJob
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.cron.ServiceableCronJob
org.apache.cocoon.components.cron.CocoonPipelineCronJob
All Implemented Interfaces: Configurable , LogEnabled , Serviceable , ConfigurableCronJob , CronJob
public class CocoonPipelineCronJob extends ServiceableCronJob implements Configurable , ConfigurableCronJob
A simple CronJob which calls an internal cocoon:// pipeline.
You must provide it with a <pipeline>pipeline/to/call</pipeline> parameter in cocoon.xconf
Your supplied pipeline String will have "cocoon://" prepended to it.
If you set info log enabled, this will write the output of the pipeline to the cron log
Since:
2.1.5
Version:
$Id: CocoonPipelineCronJob.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Giacomo Pati , Reinhard Poetz , Jeremy Quinn
Fields inherited from interface org.apache.cocoon.components.cron.CronJob
ROLE
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
PIPELINE_PARAM
public static final String PIPELINE_PARAM
See Also: Constant Field Values
CocoonPipelineCronJob
public CocoonPipelineCronJob ()
execute
public void execute (String name)
Description copied from interface: CronJob
This methods get called to allow an implementing class to do its supposed job
Specified by: execute
in interface CronJob
Parameters: name
- the name given to this job
configure
public void configure (Configuration config)
throws ConfigurationException
Specified by: configure
in interface Configurable
Throws:
ConfigurationException
setup
public void setup (Parameters params,
Map objects)
Description copied from interface: ConfigurableCronJob
Setup CronJob with additional information first
Specified by: setup
in interface ConfigurableCronJob
Parameters: params
- Any Parametersobjects
- Some additional Objects
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.