Class: Arcp::Runtime::JobRecord

Inherits:
Data
  • Object
show all
Defined in:
lib/arcp/runtime/job_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#agentObject (readonly)

Returns the value of attribute agent

Returns:

  • (Object)

    the current value of agent



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def agent
  @agent
end

#created_atObject (readonly)

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def created_at
  @created_at
end

#inputObject (readonly)

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def input
  @input
end

#job_idObject (readonly)

Returns the value of attribute job_id

Returns:

  • (Object)

    the current value of job_id



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def job_id
  @job_id
end

#principal_idObject (readonly)

Returns the value of attribute principal_id

Returns:

  • (Object)

    the current value of principal_id



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def principal_id
  @principal_id
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def status
  @status
end

#submitter_session_idObject (readonly)

Returns the value of attribute submitter_session_id

Returns:

  • (Object)

    the current value of submitter_session_id



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def submitter_session_id
  @submitter_session_id
end

#taskObject (readonly)

Returns the value of attribute task

Returns:

  • (Object)

    the current value of task



11
12
13
# File 'lib/arcp/runtime/job_manager.rb', line 11

def task
  @task
end

Instance Method Details

#with(**kw) ⇒ Object



13
# File 'lib/arcp/runtime/job_manager.rb', line 13

def with(**kw) = self.class.new(**to_h, **kw)