Methods for specifying the progress of the action the +*_progress+ methods should return number in 0..1. The weight is there to increase/decrease the portion of this task in the context of other tasks in execution plan. Normal action has weight 1.
The +*_progress+ is run only when the action is in running/suspend state. Otherwise the progress is 1 for success/skipped actions and 0 for errorneous ones.
# File lib/dynflow/action/progress.rb, line 52 def finalize_progress 0.5 end
# File lib/dynflow/action/progress.rb, line 56 def finalize_progress_weight 1 end
# File lib/dynflow/action/progress.rb, line 44 def run_progress 0.5 end
# File lib/dynflow/action/progress.rb, line 48 def run_progress_weight 1 end