|
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.MonthlyExecution
public class MonthlyExecution
An ExecutionTimeProvider which would be described in the form "Run the task in the months ___, ___, and ___
on days _____, ____, and ____ at ____ o'clock."
To create a MonthlyExecution object, use
createMonthlyExecution
from the class ScheduleExecutionFactory.
Once created, you can set the specific months and the specific days of the month
in addition to changing time of day and hour range, methods in the super class ScheduleExecution.
OneDayExecution,
DailyExecution,
WeeklyExecution,
ScheduleExecutionFactory,
ScheduleExecution,
ExecutionTimeProvider| Method Summary | |
|---|---|
int[] |
getSpecificDays()
Returns the specific days of the month to execute the task on. |
int[] |
getSpecificMonths()
Returns the specific months the task is to be executed during. |
void |
setSpecificDays(int[] specificDays)
Sets the specific days of the month the task is to be executed on in the chosen months. 1-based, maximum is 31. |
void |
setSpecificMonths(int[] specificMonths)
Sets the specific months the task is to be executed during. |
| 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 setSpecificMonths(int[] specificMonths)
throws ScheduleException
specificMonths - The specific months to execute the task during.
ScheduleException - If the array is null or empty or if one of the months is not between 1 and 12.public int[] getSpecificMonths()
public void setSpecificDays(int[] specificDays)
throws ScheduleException
specificDays - The specific days of the month the task is to be executed on in the chosen months.
ScheduleException - If the array is null or empty or if one of the days is not between 1 and 31.public int[] getSpecificDays()
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||