C# Class Expl.Itinerary.Quartz.ItineraryTriggerImpl

Quartz trigger class with Itinerary scheduling integration.
Inheritance: AbstractTrigger, IItineraryTrigger
Afficher le fichier Open project: spoulson/Itinerary

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
ValidateMisfireInstruction ( int misfireInstruction ) : bool

Validates the misfire instruction.

Method Details

ComputeFirstFireTimeUtc() public méthode

public ComputeFirstFireTimeUtc ( ICalendar cal ) : DateTimeOffset?
cal ICalendar
Résultat DateTimeOffset?

GetFireTimeAfter() public méthode

public GetFireTimeAfter ( DateTimeOffset afterTime ) : DateTimeOffset?
afterTime DateTimeOffset
Résultat DateTimeOffset?

GetMayFireAgain() public méthode

Determines whether or not the ItineraryTriggerImpl will occur again.
public GetMayFireAgain ( ) : bool
Résultat bool

GetNextFireTimeUtc() public méthode

public GetNextFireTimeUtc ( ) : DateTimeOffset?
Résultat DateTimeOffset?

GetPreviousFireTimeUtc() public méthode

public GetPreviousFireTimeUtc ( ) : DateTimeOffset?
Résultat DateTimeOffset?

GetScheduleBuilder() public méthode

public GetScheduleBuilder ( ) : IScheduleBuilder
Résultat IScheduleBuilder

ItineraryTriggerImpl() public méthode

public ItineraryTriggerImpl ( ISchedule schedule ) : System
schedule ISchedule
Résultat System

ItineraryTriggerImpl() public méthode

public ItineraryTriggerImpl ( ISchedule schedule, System.DateTime startTimeUtc ) : System
schedule ISchedule
startTimeUtc System.DateTime
Résultat System

SetNextFireTimeUtc() public méthode

public SetNextFireTimeUtc ( DateTimeOffset nextFireTime ) : void
nextFireTime DateTimeOffset
Résultat void

SetPreviousFireTimeUtc() public méthode

public SetPreviousFireTimeUtc ( DateTimeOffset previousFireTime ) : void
previousFireTime DateTimeOffset
Résultat void

Triggered() public méthode

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
Résultat void

UpdateAfterMisfire() public méthode

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
Résultat void

UpdateWithNewCalendar() public méthode

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

ValidateMisfireInstruction() protected méthode

Validates the misfire instruction.
protected ValidateMisfireInstruction ( int misfireInstruction ) : bool
misfireInstruction int The misfire instruction.
Résultat bool