Class: Actions::ActionWithSubPlans
- Inherits:
-
EntryAction
- Object
- Dynflow::Action
- Base
- EntryAction
- Actions::ActionWithSubPlans
- Includes:
- Dynflow::Action::V2::WithSubPlans
- Defined in:
- app/lib/actions/action_with_sub_plans.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from EntryAction
#action_subject, all_action_names, #delay, #drop_all_locks!, #humanized_input, #humanized_name, #resource_locks, serializer_class
Methods included from Helpers::Lock
#exclusive_lock!, #link!, #lock!
Methods included from Helpers::ArgsSerialization
Methods inherited from Base
#already_running?, #humanized_errors, #humanized_input, #humanized_name, #notify_paused, #serializer_class, #task, #task_input, #task_output
Methods included from TaskSynchronization
included, #sync_execution_plan_to_task
Methods included from Helpers::LifecycleLogging
included, #log_task_state_change
Instance Method Details
#humanized_output ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/lib/actions/action_with_sub_plans.rb', line 9 def humanized_output return unless counts_set? _('%{total} task(s), %{success} success, %{failed} fail') % { total: total_count, success: output[:success_count], failed: output[:failed_count] } end |
#plan(*_args) ⇒ Object
5 6 7 |
# File 'app/lib/actions/action_with_sub_plans.rb', line 5 def plan(*_args) raise NotImplementedError end |