C# 클래스 Expl.Itinerary.Quartz.ItineraryTriggerImpl

Quartz trigger class with Itinerary scheduling integration.
상속: AbstractTrigger, IItineraryTrigger
파일 보기 프로젝트 열기: spoulson/Itinerary

공개 메소드들

메소드 설명
ComputeFirstFireTimeUtc ( ICalendar cal ) : DateTimeOffset?
GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset?
GetMayFireAgain ( ) : bool

Determines whether or not the ItineraryTriggerImpl will occur again.

GetNextFireTimeUtc ( ) : DateTimeOffset?
GetPreviousFireTimeUtc ( ) : DateTimeOffset?
GetScheduleBuilder ( ) : IScheduleBuilder
ItineraryTriggerImpl ( ISchedule schedule ) : System
ItineraryTriggerImpl ( ISchedule schedule, System.DateTime startTimeUtc ) : System
SetNextFireTimeUtc ( DateTimeOffset nextFireTime ) : void
SetPreviousFireTimeUtc ( DateTimeOffset previousFireTime ) : void
Triggered ( ICalendar cal ) : void

Called when the IScheduler has decided to 'fire' the trigger (Execute the associated IJob), in order to give the Trigger a chance to update itself for its next triggering (if any).

UpdateAfterMisfire ( ICalendar cal ) : void

Updates the ItineraryTriggerImpl's state based on the MisfireInstruction value that was selected when the ItineraryTriggerImpl was created.

UpdateWithNewCalendar ( ICalendar cal, System.TimeSpan misfireThreshold ) : void

Updates the instance with new calendar.

보호된 메소드들

메소드 설명
ValidateMisfireInstruction ( int misfireInstruction ) : bool

Validates the misfire instruction.

메소드 상세

ComputeFirstFireTimeUtc() 공개 메소드

public ComputeFirstFireTimeUtc ( ICalendar cal ) : DateTimeOffset?
cal ICalendar
리턴 DateTimeOffset?

GetFireTimeAfter() 공개 메소드

public GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset?
afterTime DateTimeOffset
리턴 DateTimeOffset?

GetMayFireAgain() 공개 메소드

Determines whether or not the ItineraryTriggerImpl will occur again.
public GetMayFireAgain ( ) : bool
리턴 bool

GetNextFireTimeUtc() 공개 메소드

public GetNextFireTimeUtc ( ) : DateTimeOffset?
리턴 DateTimeOffset?

GetPreviousFireTimeUtc() 공개 메소드

public GetPreviousFireTimeUtc ( ) : DateTimeOffset?
리턴 DateTimeOffset?

GetScheduleBuilder() 공개 메소드

public GetScheduleBuilder ( ) : IScheduleBuilder
리턴 IScheduleBuilder

ItineraryTriggerImpl() 공개 메소드

public ItineraryTriggerImpl ( ISchedule schedule ) : System
schedule ISchedule
리턴 System

ItineraryTriggerImpl() 공개 메소드

public ItineraryTriggerImpl ( ISchedule schedule, System.DateTime startTimeUtc ) : System
schedule ISchedule
startTimeUtc System.DateTime
리턴 System

SetNextFireTimeUtc() 공개 메소드

public SetNextFireTimeUtc ( DateTimeOffset nextFireTime ) : void
nextFireTime DateTimeOffset
리턴 void

SetPreviousFireTimeUtc() 공개 메소드

public SetPreviousFireTimeUtc ( DateTimeOffset previousFireTime ) : void
previousFireTime DateTimeOffset
리턴 void

Triggered() 공개 메소드

Called when the IScheduler has decided to 'fire' the trigger (Execute the associated IJob), in order to give the Trigger a chance to update itself for its next triggering (if any).
public Triggered ( ICalendar cal ) : void
cal ICalendar
리턴 void

UpdateAfterMisfire() 공개 메소드

Updates the ItineraryTriggerImpl's state based on the MisfireInstruction value that was selected when the ItineraryTriggerImpl was created.
public UpdateAfterMisfire ( ICalendar cal ) : void
cal ICalendar
리턴 void

UpdateWithNewCalendar() 공개 메소드

Updates the instance with new calendar.
public UpdateWithNewCalendar ( ICalendar cal, System.TimeSpan misfireThreshold ) : void
cal ICalendar
misfireThreshold System.TimeSpan The misfire threshold.
리턴 void

ValidateMisfireInstruction() 보호된 메소드

Validates the misfire instruction.
protected ValidateMisfireInstruction ( int misfireInstruction ) : bool
misfireInstruction int The misfire instruction.
리턴 bool