|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openeai.OpenEaiObject
org.openeai.afa.ScheduleRuntime
public class ScheduleRuntime
This is a wrapper class that helps a Schedule determine if it should execute the commands that Schedule manages. Basically, by day and time(s). Each Schedule that gets configured has a list of these as specified in the application's deployment document.
| Field Summary |
|---|
| Fields inherited from class org.openeai.OpenEaiObject |
|---|
logger |
| Constructor Summary | |
|---|---|
ScheduleRuntime(org.jdom.Element eConfig)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getDay()
Returns the day of the week that the Schedule should be executed. |
java.util.List |
getTimes()
Returns a list of TimeOfDay objects indicating when during a particular day the Schedule should run. |
void |
setDay(java.lang.String day)
Sets the day of the week that the Schedule should be executed. |
| Methods inherited from class org.openeai.OpenEaiObject |
|---|
getAppName, getDebug, getFromAddr, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduleRuntime(org.jdom.Element eConfig)
| Method Detail |
|---|
public final void setDay(java.lang.String day)
day - String the day of the week the schedule should execute.public final java.lang.String getDay()
public final java.util.List getTimes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||