i-net Clear Reports

com.inet.report.schedule
Class DailyExecution

java.lang.Object
  extended by com.inet.report.schedule.ScheduleExecution
      extended by com.inet.report.schedule.DailyExecution
All Implemented Interfaces:
ExecutionTimeProvider

public class DailyExecution
extends ScheduleExecution

An ExecutionTimeProvider which can be described in the form "Run the task every ___ days at ____ o'clock." To create a DailyExecution object, use createDailyExecution from the class ScheduleExecutionFactory.
Once created, you can set the "day step size" (every ___ days), in addition to changing time of day and hour range, methods in the super class ScheduleExecution.

Since:
6.0
See Also:
OneDayExecution, WeeklyExecution, MonthlyExecution, ScheduleExecutionFactory, ScheduleExecution, ExecutionTimeProvider

Method Summary
 int getDayStepSize()
          Returns the current day step size for this object, set either while creating this object or with the method setDayStepSize.
 void setDayStepSize(int dayStepSize)
          Sets the day 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

setDayStepSize

public void setDayStepSize(int dayStepSize)
                    throws ScheduleException
Sets the day step size for this execution time provider - the value must be 1 or greater.

Parameters:
dayStepSize - The day step size for this execution time provider
Throws:
ScheduleException - If the step size is illegal, i.e. if it is negative or 0.
See Also:
getDayStepSize()

getDayStepSize

public int getDayStepSize()
Returns the current day step size for this object, set either while creating this object or with the method setDayStepSize.

Returns:
The current day step size for this object
See Also:
setDayStepSize(int)

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH