Class: UU::OS::Env::Process::ProcessResult

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_framework-0.29.16/lib/uu/os/env/process/process_result.rb

Overview

Object representing final or partial result of process.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (String) error_code

Optional error code.

Parameters:

  • (String)

Returns:

  • (String)


36
37
38
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_result.rb', line 36

def error_code
  @error_code
end

- (UU::OS::Env::Process::ProcessMessage) message

Message of result.



31
32
33
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_result.rb', line 31

def message
  @message
end

- (UU::OS::UESURI) process_uri

URI of process.

Parameters:

Returns:



16
17
18
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_result.rb', line 16

def process_uri
  @process_uri
end

- (UU::OS::UESURI) result

URI of result object.

Parameters:

Returns:



26
27
28
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_result.rb', line 26

def result
  @result
end

- (String) state

State of process.

Parameters:

  • (String)

Returns:

  • (String)


21
22
23
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_result.rb', line 21

def state
  @state
end