org.jboss.seam.core
Class CronSchedule
java.lang.Object
org.jboss.seam.core.Schedule
org.jboss.seam.core.CronSchedule
- All Implemented Interfaces:
- Serializable
public class CronSchedule
- extends Schedule
A "cron schedule" for a timed event executed by
the Quartz CronTrigger.
- Author:
- Michael Yuan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CronSchedule
public CronSchedule(Long duration,
String cron)
- Parameters:
duration
- the delay before the first event occurscron
- the unix cron string to control how the events are repeated
CronSchedule
public CronSchedule(Date expiration,
String cron)
- Parameters:
expiration
- the datetime at which the first event occurscron
- the unix cron string to control how the events are repeated