Class: ForemanTasksCore::TaskLauncher::ParentAction
- Inherits:
-
Dynflow::Action
- Object
- Dynflow::Action
- ForemanTasksCore::TaskLauncher::ParentAction
- Includes:
- Dynflow::Action::WithPollingSubPlans, Dynflow::Action::WithSubPlans
- Defined in:
- lib/foreman_tasks_core/task_launcher/batch.rb
Instance Method Summary collapse
- #initiate ⇒ Object
-
#plan(launcher, input_hash) ⇒ Object
{ task_id => { :action_class => Klass, :input => input } }.
- #rescue_strategy ⇒ Object
Instance Method Details
#initiate ⇒ Object
13 14 15 16 |
# File 'lib/foreman_tasks_core/task_launcher/batch.rb', line 13 def initiate ping suspended_action wait_for_sub_plans sub_plans end |
#plan(launcher, input_hash) ⇒ Object
{ task_id => { :action_class => Klass, :input => input } }
8 9 10 11 |
# File 'lib/foreman_tasks_core/task_launcher/batch.rb', line 8 def plan(launcher, input_hash) launcher.launch_children(self, input_hash) plan_self end |
#rescue_strategy ⇒ Object
18 19 20 |
# File 'lib/foreman_tasks_core/task_launcher/batch.rb', line 18 def rescue_strategy Dynflow::Action::Rescue::Fail end |