Class: CodeRunner::Veritas::ListSubmitter

Inherits:
Object
  • Object
show all
Includes:
SYSTEM_MODULE
Defined in:
lib/veritascrmod/veritas.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(runner, nprocs, list_file, jid) ⇒ ListSubmitter

Returns a new instance of ListSubmitter.



225
226
227
228
229
230
231
# File 'lib/veritascrmod/veritas.rb', line 225

def initialize(runner, nprocs, list_file, jid)
  @executable_location = runner.executable_location
  @executable_name = runner.executable_name
  @parameter_string = list_file
  @job_identifier = jid
  @nprocs = nprocs
end

Instance Attribute Details

#executable_locationObject (readonly)

Returns the value of attribute executable_location.



223
224
225
# File 'lib/veritascrmod/veritas.rb', line 223

def executable_location
  @executable_location
end

#executable_nameObject (readonly)

Returns the value of attribute executable_name.



223
224
225
# File 'lib/veritascrmod/veritas.rb', line 223

def executable_name
  @executable_name
end

#job_identifierObject (readonly)

Returns the value of attribute job_identifier.



224
225
226
# File 'lib/veritascrmod/veritas.rb', line 224

def job_identifier
  @job_identifier
end

#parameter_stringObject (readonly)

Returns the value of attribute parameter_string.



223
224
225
# File 'lib/veritascrmod/veritas.rb', line 223

def parameter_string
  @parameter_string
end

Class Method Details

.rcpObject



235
236
237
# File 'lib/veritascrmod/veritas.rb', line 235

def self.rcp
  @rcp ||= CodeRunner::Run::RunClassPropertyFetcher.new(self)
end

Instance Method Details

#rcpObject



232
233
234
# File 'lib/veritascrmod/veritas.rb', line 232

def rcp
  self.class.rcp
end