Class: AgentsControl::Executor::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/agents_control/executor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



20
21
22
# File 'lib/agents_control/executor.rb', line 20

def status
  @status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



20
21
22
# File 'lib/agents_control/executor.rb', line 20

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



20
21
22
# File 'lib/agents_control/executor.rb', line 20

def stdout
  @stdout
end

Instance Method Details

#not_found?Boolean

Returns:

  • (Boolean)


23
# File 'lib/agents_control/executor.rb', line 23

def not_found? = status == NOT_FOUND_STATUS

#success?Boolean

Returns:

  • (Boolean)


21
# File 'lib/agents_control/executor.rb', line 21

def success? = status.zero?

#timeout?Boolean

Returns:

  • (Boolean)


22
# File 'lib/agents_control/executor.rb', line 22

def timeout? = status == TIMEOUT_STATUS