Class: UU::OS::Env::Process::ProcessEvent
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Env::Process::ProcessEvent
- 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)
-
- (String) event_code
Code of event.
-
- (String) event_message
Event message.
-
- (String) event_type
Type of event.
-
- (Exception) exception
Optional exception.
-
- (UU::OS::UESURI) related_object
URI of object related to this event.
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.
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.
26 27 28 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_event.rb', line 26 def @event_message end |
- (String) event_type
Type of event. Allowed values UU::OS::Env::Process::ProcessEventType.
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.
36 37 38 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_event.rb', line 36 def exception @exception end |
- (UU::OS::UESURI) related_object
URI of object related to this event.
31 32 33 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/process/process_event.rb', line 31 def @related_object end |