struct

Fluxion::ExecutionEvent

Inherits Struct < Value < Object

One event on the execution stream.

Constructors

cancelled(phase : String, next_plan_entry : String | Nil = nil) : self
Source
error(step : String, item : String, result : StepResult) : self
Source
item_completed(step : String, item : String, result : StepResult) : self
Source
item_output(step : String, item : String, line : String) : self
Source
item_started(step : String, item : String) : self
Source
new(step_name : String, item : String, kind : EventKind, result : StepResult | Nil = nil, timestamp : Time = Time.utc, phase_context : String | Nil = nil, output_line : String | Nil = nil)
Source
phase_blocked(phase : String, blocked_by : String) : self

blocked_by names the failed dependency, so the user learns which earlier failure is responsible rather than just that this phase skipped.

Source
phase_completed(phase : String) : self
Source
phase_failed(phase : String) : self
Source
phase_started(phase : String) : self
Source
restart_required(phase : String, message : String) : self
Source
step_completed(step : String) : self
Source
step_started(step : String) : self
Source

Instance methods

item
Source
kind
Source
output_line

Present only on ItemOutput.

Source
phase_context
Source
result
Source
step_name

For phase events this holds the phase name — phases and steps share one channel so listeners need only one switch.

Source
timestamp
Source