Class: UU::OS::Env::Process::ProcessEvent

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

Overview

Parameters of event sent by 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) event_code

Code of event.

Parameters:

  • (String)

Returns:

  • (String)


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

def event_code
  @event_code
end

- (String) event_message

Event message.

Parameters:

  • (String)

Returns:

  • (String)


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

def event_message
  @event_message
end

- (String) event_type

Type of event. Allowed values UU::OS::Env::Process::ProcessEventType.

Parameters:

  • (String)

Returns:

  • (String)


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

def event_type
  @event_type
end

- (Exception) exception

Optional exception.

Parameters:

Returns:



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

def exception
  @exception
end

URI of object related to this event.

Parameters:

Returns:



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

def related_object
  @related_object
end