Struct TriggerStateTransition
- Namespace
- Quartz.Impl.AdoJobStore
- Assembly
- Quartz.dll
One conditional trigger-state change: rows currently in From become To, and rows in any other state are left alone.
public readonly record struct TriggerStateTransition : IEquatable<TriggerStateTransition>
- Implements
- Inherited Members
Remarks
The blocking and unblocking of a job's triggers is always several of these at once, and every one of them is a round trip on its own unless they travel together.
Constructors
TriggerStateTransition(StoredTriggerState, StoredTriggerState)
One conditional trigger-state change: rows currently in From become To, and rows in any other state are left alone.
public TriggerStateTransition(StoredTriggerState From, StoredTriggerState To)
Parameters
FromStoredTriggerStateThe state a row must currently hold to be changed.
ToStoredTriggerStateThe state to write.
Remarks
The blocking and unblocking of a job's triggers is always several of these at once, and every one of them is a round trip on its own unless they travel together.
Properties
From
The state a row must currently hold to be changed.
public StoredTriggerState From { get; init; }
Property Value
To
The state to write.
public StoredTriggerState To { get; init; }