Class: Actions::DeliverLongRunningTasksNotification
- Inherits:
-
EntryAction
- Object
- Base
- EntryAction
- Actions::DeliverLongRunningTasksNotification
show all
- Defined in:
- app/lib/actions/deliver_long_running_tasks_notification.rb
Instance Method Summary
collapse
Methods inherited from EntryAction
#action_subject, all_action_names, #delay, #drop_all_locks!, #humanized_input, #resource_locks, serializer_class
#exclusive_lock!, #link!
#serialize_args
Instance Method Details
#humanized_name ⇒ Object
18
19
20
|
# File 'app/lib/actions/deliver_long_running_tasks_notification.rb', line 18
def humanized_name
_('Deliver notifications about long running tasks')
end
|
#plan(report) ⇒ Object
3
4
5
6
7
|
# File 'app/lib/actions/deliver_long_running_tasks_notification.rb', line 3
def plan(report)
return if report.task_uuids.empty?
plan_self report: report
end
|
#rescue_strategy_for_self ⇒ Object
22
23
24
|
# File 'app/lib/actions/deliver_long_running_tasks_notification.rb', line 22
def rescue_strategy_for_self
::Dynflow::Action::Rescue::Skip
end
|