Class: Orchestra::Execution::EmbeddedOperation
- Defined in:
- lib/orchestra/execution.rb
Instance Attribute Summary
Attributes inherited from Step
#context, #name, #node, #operation_execution, #step
Instance Method Summary collapse
Methods inherited from Step
execute, #execute, #initialize, new, #to_node
Constructor Details
This class inherits a constructor from Orchestra::Execution::Step
Instance Method Details
#build_context ⇒ Object
162 163 164 165 166 |
# File 'lib/orchestra/execution.rb', line 162 def build_context conductor = operation_execution.registry[:conductor] copy_observers = conductor.method :copy_observers step.start_execution conductor, input, ©_observers end |
#input ⇒ Object
168 169 170 |
# File 'lib/orchestra/execution.rb', line 168 def input operation_execution.state end |
#invoke ⇒ Object
157 158 159 160 |
# File 'lib/orchestra/execution.rb', line 157 def invoke super context.state.select do |k,_| k == step.result end end |