com.pmease.quickbuild.schedule
Class CronSchedule

java.lang.Object
  extended bycom.pmease.quickbuild.schedule.CronSchedule
All Implemented Interfaces:
Schedule, java.io.Serializable

public class CronSchedule
extends java.lang.Object
implements Schedule

A unix cron-like schedule.

Author:
robin shine
See Also:
Serialized Form

Constructor Summary
CronSchedule()
           
 
Method Summary
 org.quartz.Trigger createTrigger()
           
 java.lang.String getExpression()
          OGNL: Cron expression for this schedule, the format is <seconds> <minutes> <hours> <day-of-month> <month> <day-of-week>.
 void setExpression(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CronSchedule

public CronSchedule()
Method Detail

getExpression

public java.lang.String getExpression()
OGNL: Cron expression for this schedule, the format is <seconds> <minutes> <hours> <day-of-month> <month> <day-of-week>.
For example, <em>0 0 1 * * ?</em> means 1:00am every day. For details of the format, refer to http://www.opensymphony.com/quartz/tutorial.html#cronTriggers.

Returns:

setExpression

public void setExpression(java.lang.String expression)

createTrigger

public org.quartz.Trigger createTrigger()
Specified by:
createTrigger in interface Schedule


Copyright © 2005 PMEase Inc. All Rights Reserved.