class Proxy::Dynflow::Action::BatchRunner

Public Instance Methods

initiate_runner() click to toggle source
# File lib/smart_proxy_dynflow/action/batch_runner.rb, line 9
def initiate_runner
  launcher = Proxy::Dynflow::TaskLauncherRegistry.fetch(input[:operation])
  launcher.runner_class.new(input[:targets], suspended_action: suspended_action)
end
plan(launcher, input) click to toggle source
# File lib/smart_proxy_dynflow/action/batch_runner.rb, line 5
def plan(launcher, input)
  plan_self :targets => launcher.runner_input(input), :operation => launcher.operation
end