PeriodicTrigger
A trigger that triggers every period.
Triggers once on resume and then every period. For triggers at a set time of day, week, or month, use RecurrentScheduledTrigger or CronScheduledTrigger.
- Inheritance
-
- Object
- Serializable
- TriggerConfiguration
- PeriodicTrigger
- Implemented types
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
PeriodicTrigger.fromJson
PeriodicTrigger
- required Duration period,
Creates a trigger that triggers every period.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
period
getter/setter pair
The time between two triggers.
Methods
toJson
Return a JSON encoding of this object.