org.jboss.seam.async
Class NthBusinessDay

java.lang.Object
  extended by org.jboss.seam.async.NthBusinessDay
All Implemented Interfaces:
Serializable

public class NthBusinessDay
extends Object
implements Serializable

The NthBusinessDay conf data -- used with @IntervalBusinessDay on @Asynchronous methods.

Author:
Michael Yuan
See Also:
Serialized Form

Nested Class Summary
static class NthBusinessDay.BusinessDayIntervalType
           
 
Constructor Summary
NthBusinessDay()
           
NthBusinessDay(int n, String fireAtTime, List<Date> additionalHolidays, NthBusinessDay.BusinessDayIntervalType interval, boolean excludeWeekends, boolean excludeUsFederalHolidays)
           
NthBusinessDay(int n, String fireAtTime, NthBusinessDay.BusinessDayIntervalType interval)
           
 
Method Summary
 List<Date> getAdditionalHolidays()
           
 boolean getExcludeUsFederalHolidays()
           
 boolean getExcludeWeekends()
           
 String getFireAtTime()
           
 org.quartz.impl.calendar.HolidayCalendar getHolidayCalendar()
           
 NthBusinessDay.BusinessDayIntervalType getInterval()
           
 int getN()
           
 void setAdditionalHolidays(List<Date> additionalHolidays)
           
 void setExcludeUsFederalHolidays(boolean excludeUsFederalHolidays)
           
 void setExcludeWeekends(boolean excludeWeekends)
           
 void setFireAtTime(String fireAtTime)
           
 void setInterval(NthBusinessDay.BusinessDayIntervalType interval)
           
 void setN(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NthBusinessDay

public NthBusinessDay()

NthBusinessDay

public NthBusinessDay(int n,
                      String fireAtTime,
                      NthBusinessDay.BusinessDayIntervalType interval)

NthBusinessDay

public NthBusinessDay(int n,
                      String fireAtTime,
                      List<Date> additionalHolidays,
                      NthBusinessDay.BusinessDayIntervalType interval,
                      boolean excludeWeekends,
                      boolean excludeUsFederalHolidays)
Method Detail

getN

public int getN()

setN

public void setN(int n)

getFireAtTime

public String getFireAtTime()

setFireAtTime

public void setFireAtTime(String fireAtTime)

getAdditionalHolidays

public List<Date> getAdditionalHolidays()

setAdditionalHolidays

public void setAdditionalHolidays(List<Date> additionalHolidays)

getInterval

public NthBusinessDay.BusinessDayIntervalType getInterval()

setInterval

public void setInterval(NthBusinessDay.BusinessDayIntervalType interval)

getExcludeWeekends

public boolean getExcludeWeekends()

setExcludeWeekends

public void setExcludeWeekends(boolean excludeWeekends)

getExcludeUsFederalHolidays

public boolean getExcludeUsFederalHolidays()

setExcludeUsFederalHolidays

public void setExcludeUsFederalHolidays(boolean excludeUsFederalHolidays)

getHolidayCalendar

public org.quartz.impl.calendar.HolidayCalendar getHolidayCalendar()