DVContentScheduledJob class
The payload of a scheduled publish or withdrawal on DVQueues.
Constructors
- DVContentScheduledJob({required String kind, required String versionId, required String scheduleId, required DVContentScheduledAction action, required DateTime at})
-
const
-
DVContentScheduledJob.fromJson(Map<
String, Object?> json) -
factory
Properties
- action → DVContentScheduledAction
-
final
- at → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduleId → String
-
The schedule this job was dispatched for. A job whose id no longer
matches the version's does nothing.
final
- versionId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
codec
→ DVJobPayloadCodec<
DVContentScheduledJob> -
Registered by DVContentWorkflow.registerJobs, so a database queue can
persist the job across a restart. The name is stored and must not change.
final