Class SimplePropertiesTriggerProperties
- Namespace
- Quartz.Impl.AdoJobStore
- Assembly
- Quartz.dll
One row of QRTZ_SIMPROP_TRIGGERS: the generic column set a trigger's own properties are stored in.
public sealed record SimplePropertiesTriggerProperties : IEquatable<SimplePropertiesTriggerProperties>
- Inheritance
-
SimplePropertiesTriggerProperties
- Implements
- Inherited Members
Remarks
This is the payload of the SimplePropertiesTriggerPersistenceDelegateBase seam. A delegate written against that base decides what each column means for its trigger family — CalendarIntervalTriggerPersistenceDelegate puts the repeat interval in Int1 and its unit in String1, for instance — and the base does the reading and writing. The columns are deliberately anonymous: the schema is fixed, and a family that needs a fourth string is out of luck rather than adding a column.
It is built in one go and read afterwards. A delegate returns a fully described row from GetTriggerProperties(IOperableTrigger), and is handed a fully read one in GetTriggerPropertyBundle(SimplePropertiesTriggerProperties); neither side edits what the other made.
Properties
Boolean1
The BOOL_PROP_1 column, read and written through the dialect's boolean conversion.
public bool Boolean1 { get; init; }
Property Value
Boolean2
The BOOL_PROP_2 column, read and written through the dialect's boolean conversion.
public bool Boolean2 { get; init; }
Property Value
Decimal1
The DEC_PROP_1 column.
public decimal Decimal1 { get; init; }
Property Value
Decimal2
The DEC_PROP_2 column.
public decimal Decimal2 { get; init; }
Property Value
Int1
The INT_PROP_1 column.
public int Int1 { get; init; }
Property Value
Int2
The INT_PROP_2 column.
public int Int2 { get; init; }
Property Value
Long1
The LONG_PROP_1 column.
public long Long1 { get; init; }
Property Value
Long2
The LONG_PROP_2 column.
public long Long2 { get; init; }
Property Value
String1
The STR_PROP_1 column.
public string? String1 { get; init; }
Property Value
String2
The STR_PROP_2 column.
public string? String2 { get; init; }
Property Value
String3
The STR_PROP_3 column.
public string? String3 { get; init; }
Property Value
TimeZoneId
The TIME_ZONE_ID column, which got a column of its own in 2.6. A delegate reading a row written before that finds the id in String2 instead.
public string? TimeZoneId { get; init; }