org.jboss.soa.esb.schedule
Class Schedule

java.lang.Object
  extended by org.jboss.soa.esb.schedule.Schedule
Direct Known Subclasses:
CronSchedule, SimpleSchedule

public abstract class Schedule
extends java.lang.Object

Schedule value object.

The scheduling can be configured by:
  1. SimpleSchedule.
  2. CronSchedule
Note tha startDate and endDate are optional.
If a startDate is not specified thenthe time will start immedietly.
If endDate is not specified the it will run indefinetly.

Author:
Daniel Bevenius, tom.fennelly@jboss.com

Constructor Summary
Schedule(java.lang.String scheduleid)
           
 
Method Summary
 java.util.Calendar getEndDate()
           
 java.lang.String getScheduleid()
           
 java.util.Calendar getStartDate()
           
 void setEndDate(java.util.Calendar endDate)
           
 void setStartDate(java.util.Calendar startDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schedule

public Schedule(java.lang.String scheduleid)
Method Detail

getScheduleid

public java.lang.String getScheduleid()

getStartDate

public java.util.Calendar getStartDate()

setStartDate

public void setStartDate(java.util.Calendar startDate)

getEndDate

public java.util.Calendar getEndDate()

setEndDate

public void setEndDate(java.util.Calendar endDate)