class Commands::StepProcessingCommand

Attributes

step_commands[RW]

Public Class Methods

new(*args) click to toggle source
Calls superclass method Commands::Command::new
# File lib/commands.rb, line 744
def initialize(*args)
  super(*args)
  @step_commands = []
end

Public Instance Methods

reorder_steps(jobflow, sc) click to toggle source
# File lib/commands.rb, line 749
def reorder_steps(jobflow, sc)
  new_step_commands = sc.dup
  for step_command in sc do
    new_step_commands = step_command.reorder_steps(jobflow, new_step_commands)
  end

  return new_step_commands
end