org.oddjob.scheduling
Class CronScheduleInstruction

java.lang.Object
  extended byorg.oddjob.scheduling.ScheduleInstruction
      extended byorg.oddjob.scheduling.CronScheduleInstruction
All Implemented Interfaces:
java.lang.Cloneable, Exportable, java.io.Serializable, Transportable

public class CronScheduleInstruction
extends ScheduleInstruction

Description:
A schedule that uses a cron expression. For more information on the expression please see http://www.opensymphony.com/quartz/api/org/quartz/CronTrigger.html
Example:
Run a job at 12pm (noon) every day.
 <cron job="${somejob}" expression="0 0 12 * * ?" />
 
See Also:
Serialized Form

Constructor Summary
CronScheduleInstruction()
           
 
Method Summary
 java.lang.String getExpression()
           
 void setExpression(java.lang.String expression)
           
 
Methods inherited from class org.oddjob.scheduling.ScheduleInstruction
exportTransportable, getId, getJob, getName, importResolve, setId, setJob, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CronScheduleInstruction

public CronScheduleInstruction()
Method Detail

getExpression

public java.lang.String getExpression()
Returns:
Returns the expression.

setExpression

public void setExpression(java.lang.String expression)
Parameters:
expression - The expression to set.