org.apache.cocoon.components.cron
Interface JobSchedulerEntry

All Known Implementing Classes:
QuartzJobSchedulerEntry

public interface JobSchedulerEntry

Interface for classes holding scheduled job entries.

Version:
CVS $Id: JobSchedulerEntry.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Giacomo Pati

Method Summary
 String getJobName()
          The name of the role/class of the job
 String getName()
          Return name of entry.
 Date getNextTime()
          Retrieve time when this job should run next.
 String getSchedule()
          Get a human readable representation of the schedule of this entry.
 boolean isRunning()
          Is this job currently running?
 

Method Detail

getJobName

String getJobName()
The name of the role/class of the job

Returns:
Name of the role/class of this job

getName

String getName()
Return name of entry.

Returns:
the name of the entry

getNextTime

Date getNextTime()
Retrieve time when this job should run next.

Returns:
the time in milliseconds when job should run

isRunning

boolean isRunning()
Is this job currently running?

Returns:
whether this job is currently running?

getSchedule

String getSchedule()
Get a human readable representation of the schedule of this entry. Is up to an implementation how it presents the schedule for this entry

Returns:
the human readable representation of the schedule of this entry


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.