org.apache.lenya.cms.usecase.scheduling
Interface UsecaseScheduler

All Known Implementing Classes:
UsecaseSchedulerImpl

public interface UsecaseScheduler

Service to schedule usecases.

Version:
$Id: UsecaseScheduler.java 473861 2006-11-12 03:51:14Z gregor $

Field Summary
static java.lang.String ROLE
          The Avalon role.
 
Method Summary
 org.apache.cocoon.components.cron.JobSchedulerEntry[] getJobs()
           
 void schedule(Usecase usecase, java.util.Date date)
          Schedules a usecase at a certain date.
 

Field Detail

ROLE

static final java.lang.String ROLE
The Avalon role.

Method Detail

schedule

void schedule(Usecase usecase,
              java.util.Date date)
Schedules a usecase at a certain date.

Parameters:
usecase - The usecase.
date - The invocation date.

getJobs

org.apache.cocoon.components.cron.JobSchedulerEntry[] getJobs()
Returns:
All scheduled jobs.


Copyright $ Apache Software Foundation. All Rights Reserved.