class Proxy::Dynflow::Action::Batch

Public Instance Methods

create_sub_plans() click to toggle source
# File lib/smart_proxy_dynflow/action/batch.rb, line 13
def create_sub_plans
  Proxy::Dynflow::TaskLauncher::Abstract
    .new_from_hash(world, input[:launcher])
    .launch_children(self, input[:input_hash])
end
notify_on_finish(_plans) click to toggle source
# File lib/smart_proxy_dynflow/action/batch.rb, line 23
def notify_on_finish(_plans)
  # Do nothing
end
plan(launcher, input_hash) click to toggle source

{ execution_plan_uuid => { :action_class => Klass, :input => input } }

# File lib/smart_proxy_dynflow/action/batch.rb, line 8
def plan(launcher, input_hash)
  plan_self :input_hash => input_hash,
            :launcher => launcher.to_hash
end
rescue_strategy() click to toggle source
# File lib/smart_proxy_dynflow/action/batch.rb, line 19
def rescue_strategy
  Dynflow::Action::Rescue::Fail
end