Sha256: 5d4a13a387eb3a92e6b6ed9994ddc7464e82342d9c250a5b79b678858e014c77
Contents?: true
Size: 662 Bytes
Versions: 21
Compression:
Stored size: 662 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
21 entries across 21 versions & 1 rubygems