C# Class Castle.Components.Scheduler.DailyPeriodicWindowTrigger

something goes here...
Inheritance: PeriodicTrigger
Show file Open project: codereflection/Castle.Components.Scheduler Class Usage Examples

Public Methods

Method Description
Clone ( ) : Trigger

Makes a deep clone of the trigger

DailyPeriodicWindowTrigger ( System.DateTime startDateUtc, System.DateTime endDateUtc, DailyFireWindow dailyFireWindow, System.TimeSpan period, int jobExecutionCount ) : System.Collections.Generic

Private Methods

Method Description
CannotExecuteAgain ( ) : bool
EndTimeHasPassed ( System.DateTime timeBasisUtc ) : bool
ExecuteAction ( ) : TriggerScheduleAction
InDailyFireWindow ( System.DateTime timeBasisUtc ) : bool
ScheduleSuggestedAction ( TriggerScheduleAction action, System.DateTime timeBasisUtc ) : TriggerScheduleAction
SkipAction ( ) : TriggerScheduleAction
StartTimeHasPassed ( System.DateTime timeBasisUtc ) : bool
StopAction ( ) : TriggerScheduleAction

Method Details

Clone() public method

Makes a deep clone of the trigger
public Clone ( ) : Trigger
return Trigger

DailyPeriodicWindowTrigger() public method

public DailyPeriodicWindowTrigger ( System.DateTime startDateUtc, System.DateTime endDateUtc, DailyFireWindow dailyFireWindow, System.TimeSpan period, int jobExecutionCount ) : System.Collections.Generic
startDateUtc System.DateTime The UTC date for the trigger to start firing
endDateUtc System.DateTime The UTC date for the trigger to stop firing
dailyFireWindow DailyFireWindow Specifies the UTC hours when the trigger should fire
period System.TimeSpan The recurrence period of the trigger. /// If the period is set to null, the trigger will fire exactly once /// and never recur.
jobExecutionCount int The number of job executions remaining before the trigger /// stops firing. This number is decremented each time the job executes /// until it reaches zero. If the count is set to null, the number of times the job /// may execute is unlimited.
return System.Collections.Generic