class Dynflow::Action::Missing
for cases the serialized action was renamed and it's not available in the code base anymore.
Public Class Methods
generate(action_name)
click to toggle source
# File lib/dynflow/action/missing.rb, line 6 def self.generate(action_name) Class.new(self).tap do |klass| klass.singleton_class.send(:define_method, :name) do action_name end end end
Public Instance Methods
finalize()
click to toggle source
# File lib/dynflow/action/missing.rb, line 24 def finalize raise StandardError, "The action class was not found and therefore finalize phase failed, this can happen if the action was added/renamed but the executor was not restarted." end
plan(*args)
click to toggle source
# File lib/dynflow/action/missing.rb, line 14 def plan(*args) raise StandardError, "The action class was not found and therefore plan phase failed, this can happen if the action was added/renamed but the executor was not restarted." end
run()
click to toggle source
# File lib/dynflow/action/missing.rb, line 19 def run raise StandardError, "The action class was not found and therefore run phase failed, this can happen if the action was added/renamed but the executor was not restarted." end