org.jboss.seam.async
Class Schedule

java.lang.Object
  extended by org.jboss.seam.async.Schedule
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CronSchedule, NthBusinessDaySchedule, TimerSchedule

public class Schedule
extends Object
implements Serializable

A "schedule" for a timed event executed by a timer service which supports delayed timed events. It is the base class for the more useful TimerSchedule and CronSchedule classes.

Author:
Michael Yuan
See Also:
Serialized Form

Constructor Summary
Schedule()
           
Schedule(Date expiration)
           
Schedule(Long duration)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schedule

public Schedule(Long duration)
Parameters:
duration - the delay before the event occurs

Schedule

public Schedule(Date expiration)
Parameters:
expiration - the datetime at which the event occurs

Schedule

public Schedule()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object