|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.schedule.ScheduleExecution
com.inet.report.schedule.WeeklyExecution
public class WeeklyExecution
An ExecutionTimeProvider which would be described in the form "Run the task every ___ weeks on
_____, ____, and ____ at ____ o'clock."
To create a WeeklyExecution object, use createWeeklyExecution
from the class ScheduleExecutionFactory.
Once created, you can set the "week step size" (every ___ days) and the specific days of the week (on ___ and ___)
in addition to changing time of day and hour range, methods in the super class ScheduleExecution.
OneDayExecution,
DailyExecution,
MonthlyExecution,
ScheduleExecutionFactory,
ScheduleExecution,
ExecutionTimeProvider| Method Summary | |
|---|---|
int[] |
getSpecificDays()
Returns the specific days set for this object either during creation of the object or with the method setSpecificDays. |
int |
getWeekStepSize()
Returns the week step size set for this object. |
void |
setSpecificDays(int[] specificDays)
Sets the specific days of the week to run the task in a chosen week. |
void |
setWeekStepSize(int weekStepSize)
Sets the week step size for this execution time provider - the value must be 1 or greater. |
| Methods inherited from class com.inet.report.schedule.ScheduleExecution |
|---|
getEndDate, getHour, getHourRange, getLoopCount, getMinute, getNextExecutionTime, getStartDate, setEndDate, setHourRange, setHourRange, setLoopCount, setStartDate, setStartTime |
| Method Detail |
|---|
public void setWeekStepSize(int weekStepSize)
throws ScheduleException
weekStepSize - The week step size for this execution time provider
ScheduleException - If the weekStepSize is less than 1.
public void setSpecificDays(int[] specificDays)
throws ScheduleException
specificDays - The specific days of the week
ScheduleException - If the array is null or empty, or if one of the
days is not between 1 and 7.public int getWeekStepSize()
public int[] getSpecificDays()
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||