Sha256: 823c113acba468e1ac1db3931194903b6ceb49d7e923f2e41bbf9f05beeff880
Contents?: true
Size: 663 Bytes
Versions: 27
Compression:
Stored size: 663 Bytes
Contents
module Dynflow module ExecutionPlan::Steps class FinalizeStep < AbstractFlowStep def self.state_transitions @state_transitions ||= { pending: [:running, :skipped], # :skipped when its run_step is skipped running: [:success, :error], success: [:pending], # when restarting finalize phase suspended: [], skipped: [], error: [:pending, :skipped] # pending when restarting finalize phase } end def phase Action::Finalize end def mark_to_skip self.state = :skipped self.save end end end end
Version data entries
27 entries across 27 versions & 1 rubygems