DeadlineApproachingEvent class

Emitted when an execution is approaching its deadline.

Inheritance

Constructors

DeadlineApproachingEvent({required String executionId, required Duration remaining, String? scheduleId, DateTime? deadlineAt, int? escalationLevel, required String correlationId, required String runId, required String workspaceId, String? causationId})

Properties

causationId → String?
Causation ID pointing to the event that caused this one.
finalinherited
correlationId → String
Correlation ID linking related events across a workflow.
finalinherited
deadlineAt → String?
Deadline timestamp (ISO 8601).
no setter
escalationLevel → int?
Current escalation level (0 = first warning, increments with each threshold).
no setter
eventId → String
Unique event identifier (UUID-like).
finalinherited
eventType → String
Fully qualified event type (e.g. 'ops.pipeline.started').
finalinherited
executionId → String
The ID of the execution approaching its deadline.
no setter
hashCode → int
The hash code for this object.
no setterinherited
meta → OpsEventMeta
Event metadata for tracing and provenance.
finalinherited
payload → Map<String, dynamic>
Event payload data.
finalinherited
remainingMs → int
Remaining time in milliseconds before the deadline.
no setter
runId → String
Execution run ID.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduleId → String?
The ID of the associated schedule.
no setter
timestamp → DateTime
Event timestamp.
finalinherited
version → String
Event schema version for forward compatibility.
finalinherited
workspaceId → String
Workspace scope.
finalinherited

Methods

copyWith({String? eventId, String? eventType, String? version, String? correlationId, String? causationId, String? runId, String? workspaceId, DateTime? timestamp, Map<String, dynamic>? payload, OpsEventMeta? meta}) → OpsEvent
Create a copy with updated fields.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to JSON map.
inherited
toPortEvent() → PortEvent
Convert this ops event to a PortEvent for transport via EventPort.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited