Table of Contents

Class TriggerPropertyBundle

Namespace
Quartz.Impl.AdoJobStore
Assembly
Quartz.dll

What a trigger persistence delegate reads back for one trigger: the schedule builder that recreates its schedule, and optionally an applier that restores trigger state the schedule builder cannot carry, such as how many times the trigger has fired.

public sealed class TriggerPropertyBundle
Inheritance
TriggerPropertyBundle
Inherited Members

Constructors

TriggerPropertyBundle(IScheduleBuilder)

Initializes a new instance of the TriggerPropertyBundle class.

public TriggerPropertyBundle(IScheduleBuilder scheduleBuilder)

Parameters

scheduleBuilder IScheduleBuilder

Recreates the trigger's schedule.

TriggerPropertyBundle(IScheduleBuilder, Action<IOperableTrigger>?)

Initializes a new instance of the TriggerPropertyBundle class.

public TriggerPropertyBundle(IScheduleBuilder scheduleBuilder, Action<IOperableTrigger>? applyState)

Parameters

scheduleBuilder IScheduleBuilder

Recreates the trigger's schedule.

applyState Action<IOperableTrigger>

Restores the trigger state a schedule builder cannot carry, or null when there is none.

Properties

ApplyState

Restores state onto the materialized trigger, or null when the delegate carries no state beyond the schedule. The shipped delegates assign the fire count by casting to the concrete trigger type: t => ((SimpleTriggerImpl) t).TimesTriggered = timesTriggered.

public Action<IOperableTrigger>? ApplyState { get; }

Property Value

Action<IOperableTrigger>

ScheduleBuilder

Recreates the trigger's schedule when the trigger is materialized from its stored rows.

public IScheduleBuilder ScheduleBuilder { get; }

Property Value

IScheduleBuilder