|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.xml.CalendarBundle
public class CalendarBundle
Wraps a Calendar
.
Field Summary | |
---|---|
protected Calendar |
calendar
|
protected String |
calendarName
|
protected String |
className
|
protected boolean |
replace
|
Fields inherited from interface org.quartz.Calendar |
---|
MONTH |
Constructor Summary | |
---|---|
CalendarBundle()
|
Method Summary | |
---|---|
protected void |
createCalendar()
|
Calendar |
getBaseCalendar()
Get the base calendar. |
Calendar |
getCalendar()
|
String |
getCalendarName()
|
String |
getClassName()
|
String |
getDescription()
Return the description given to the Calendar instance by
its creator (if any). |
long |
getNextIncludedTime(long timeStamp)
Determine the next time (in milliseconds) that is 'included' by the Calendar after the given time. |
boolean |
getReplace()
|
boolean |
isTimeIncluded(long timeStamp)
Determine whether the given time (in milliseconds) is 'included' by the Calendar. |
void |
setBaseCalendar(Calendar baseCalendar)
Set a new base calendar or remove the existing one. |
void |
setCalendar(Calendar calendar)
|
void |
setCalendarName(String calendarName)
|
void |
setClassName(String className)
|
void |
setDescription(String description)
Set a description for the Calendar instance - may be
useful for remembering/displaying the purpose of the calendar, though
the description has no meaning to Quartz. |
void |
setReplace(boolean replace)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String calendarName
protected String className
protected Calendar calendar
protected boolean replace
Constructor Detail |
---|
public CalendarBundle()
Method Detail |
---|
public String getCalendarName()
public void setCalendarName(String calendarName)
public String getClassName()
public void setClassName(String className) throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
public Calendar getCalendar()
public void setCalendar(Calendar calendar)
public boolean getReplace()
public void setReplace(boolean replace)
public Calendar getBaseCalendar()
Calendar
Get the base calendar. Will be null, if not set.
getBaseCalendar
in interface Calendar
public void setBaseCalendar(Calendar baseCalendar)
Calendar
Set a new base calendar or remove the existing one.
setBaseCalendar
in interface Calendar
public String getDescription()
Calendar
Return the description given to the Calendar
instance by
its creator (if any).
getDescription
in interface Calendar
public void setDescription(String description)
Calendar
Set a description for the Calendar
instance - may be
useful for remembering/displaying the purpose of the calendar, though
the description has no meaning to Quartz.
setDescription
in interface Calendar
public boolean isTimeIncluded(long timeStamp)
Calendar
Determine whether the given time (in milliseconds) is 'included' by the Calendar.
isTimeIncluded
in interface Calendar
public long getNextIncludedTime(long timeStamp)
Calendar
Determine the next time (in milliseconds) that is 'included' by the Calendar after the given time.
getNextIncludedTime
in interface Calendar
protected void createCalendar() throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
|
Quartz Enterprise Job Scheduler Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |