|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A ScheduledRequest is a request to perform some method of a specified class at a later time, either once or on a repetitive basis. The parameters used to set up a request are quite intentionally similar to the "crontab" command on Unix/Linux-type systems
| Field Summary | |
static java.lang.String |
ROLE |
| Method Summary | |
java.lang.String |
getExpression()Return the formatted CRON-tab expression that is the cumulative of the previously set seconds, minutes, hours, day-of-month/week, year fields |
java.util.Date |
getNextDate()Return a Date when this object is next scheduled to be run (if at all). |
int |
getNumber()Get the sequential request number provided by the scheduler when this task was scheduled |
ModelRequest |
getRequest()Get the ModelRequest that is to be/has been scheduled |
void |
setDate(java.util.Date d)Set this request to execute at the specified date/time (once) |
void |
setDaysOfMonth(java.lang.String s) |
void |
setDaysOfWeek(java.lang.String s) |
void |
setHours(java.lang.String s) |
void |
setMinutes(java.lang.String s)Specify a minute or set of minutes, where each minute (0 thru 59, inclusive) indicates a minute of the hour at which this request will be run. |
void |
setMonths(java.lang.String s) |
void |
setNumber(int newNumber)The scheduler (only) sets the identifying number of this request |
void |
setPriority(int newPrio)Set the priority of this task. |
void |
setRequest(ModelRequest req)Specify a ModelRequest to be executed at the specified date/time(s) |
void |
setSeconds(java.lang.String s) |
void |
setYears(java.lang.String s) |
| Field Detail |
public static final java.lang.String ROLE
| Method Detail |
public int getNumber()
public void setMinutes(java.lang.String s)
public void setHours(java.lang.String s)
public void setDaysOfMonth(java.lang.String s)
public void setMonths(java.lang.String s)
public void setYears(java.lang.String s)
public void setSeconds(java.lang.String s)
public void setDaysOfWeek(java.lang.String s)
public void setDate(java.util.Date d)
public void setRequest(ModelRequest req)
public ModelRequest getRequest()
public void setNumber(int newNumber)
public void setPriority(int newPrio)
public java.util.Date getNextDate()
public java.lang.String getExpression()
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||