Record Class ScheduleTriggerConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.scripteditor.workspace.ai.config.ScheduleTriggerConfig
- Record Components:
cron- a 5-field cron expression (minute hour day-of-month month day-of-week).
The trigger configuration of a Gateway scheduled event script: the cron expression that fires it.
Cron validity is a semantic rule the JSON schema cannot express, so this type uses a hand-written extractor that rejects an unparseable expression the same way the cron editor does.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigSchema<ScheduleTriggerConfig> The authoritative schema and deserialization for scheduled trigger configs. -
Constructor Summary
ConstructorsConstructorDescriptionScheduleTriggerConfig(String cron) Creates an instance of aScheduleTriggerConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncron()Returns the value of thecronrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SCHEMA
The authoritative schema and deserialization for scheduled trigger configs.
-
-
Constructor Details
-
ScheduleTriggerConfig
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
cron
-