org.jboss.seam.async
Class CronSchedule
java.lang.Object
org.jboss.seam.async.Schedule
org.jboss.seam.async.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
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