class Commands::ResizeJobflowCommand

Public Instance Methods

steps() click to toggle source
# File lib/commands.rb, line 308
def steps
  step = {
    "Name"            => get_field(:step_name, "Resize Job Flow Command"),
    "ActionOnFailure" => get_field(:step_action, "CANCEL_AND_WAIT"),
    "HadoopJarStep"   => {
      "Jar" => get_field(:resize_jobflow_cmd),
      "Args" => @args 
    }
  }
  return [ step ]
end
validate() click to toggle source
Calls superclass method Commands::StepCommand#validate
# File lib/commands.rb, line 304
def validate
  super
end