class Dynflow::Director::EventWorkItem

Attributes

event[R]

Public Class Methods

new(execution_plan_id, step, event) click to toggle source
Calls superclass method Dynflow::Director::StepWorkItem.new
# File lib/dynflow/director.rb, line 49
def initialize(execution_plan_id, step, event)
  super(execution_plan_id, step)
  @event = event
end

Public Instance Methods

execute() click to toggle source
# File lib/dynflow/director.rb, line 54
def execute
  @step.execute(@event.event)
end