|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ExecutionTimeProvider
This interface defines what functionality a ScheduleExecution object must offer.
OneDayExecution,
DailyExecution,
WeeklyExecution,
MonthlyExecution,
ScheduleExecutionFactory,
ScheduleExecution| Method Summary | |
|---|---|
java.util.Date |
getEndDate()
Returns the end date for this execution time provider - that is, the last point in time this task is allowed to be executed. |
int |
getLoopCount()
Get the amount of executions after this task is stopped. |
java.util.Date |
getNextExecutionTime()
The core of the object - must return the next point in time the task is to be executed. |
java.util.Date |
getStartDate()
Returns the start date (NOT to be mistaken for the point in time - the only thing that counts in the date object is the actual day - setting a Date object with time information will cause the time information to be ignored.) for this execution time provider - that is, the first day this task is allowed to be executed. |
void |
setEndDate(java.util.Date date)
Sets the end date for this execution time provider - that is, the last point in time this task is allowed to be executed. |
void |
setLoopCount(int loopCount)
Set after how many executions this task should stop. |
void |
setStartDate(java.util.Date date)
Sets the start date for this execution time provider - that is, the first day this task is allowed to be executed (NOT to be mistaken for the point in time - the only thing that counts in the date object is the actual day - setting a Date object with time information will cause the time information to be ignored.) |
| Method Detail |
|---|
java.util.Date getNextExecutionTime()
void setStartDate(java.util.Date date)
throws ScheduleException
date - The start date for this execution time provider. May not be null.
ScheduleException - If date is nulljava.util.Date getStartDate()
void setEndDate(java.util.Date date)
date - The end date for this execution time provider. If null, end date is set to non-existent.java.util.Date getEndDate()
void setLoopCount(int loopCount)
loopCount - after how many executions it should stop, use -1 for never, 0 means it will not be scheduled at all. When 0, getNextExecutionTime() will always return null.int getLoopCount()
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||