Class: SpotFlow::Bpmn::SignalEventDefinition
- Inherits:
-
EventDefinition
- Object
- Element
- EventDefinition
- SpotFlow::Bpmn::SignalEventDefinition
- Defined in:
- lib/spot_flow/bpmn/event_definition.rb
Instance Attribute Summary collapse
-
#signal ⇒ Object
Returns the value of attribute signal.
-
#signal_ref ⇒ Object
Returns the value of attribute signal_ref.
Attributes inherited from Element
#extension_elements, #id, #name
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SignalEventDefinition
constructor
A new instance of SignalEventDefinition.
- #signal_id ⇒ Object
- #signal_name ⇒ Object
Methods inherited from EventDefinition
Methods inherited from Element
Constructor Details
#initialize(attributes = {}) ⇒ SignalEventDefinition
Returns a new instance of SignalEventDefinition.
83 84 85 86 87 |
# File 'lib/spot_flow/bpmn/event_definition.rb', line 83 def initialize(attributes = {}) super(attributes.except(:signal_ref)) @signal_ref = moddle[:signal_ref] end |
Instance Attribute Details
#signal ⇒ Object
Returns the value of attribute signal.
81 82 83 |
# File 'lib/spot_flow/bpmn/event_definition.rb', line 81 def signal @signal end |
#signal_ref ⇒ Object
Returns the value of attribute signal_ref.
81 82 83 |
# File 'lib/spot_flow/bpmn/event_definition.rb', line 81 def signal_ref @signal_ref end |
Instance Method Details
#signal_id ⇒ Object
89 90 91 |
# File 'lib/spot_flow/bpmn/event_definition.rb', line 89 def signal_id signal&.id end |
#signal_name ⇒ Object
93 94 95 |
# File 'lib/spot_flow/bpmn/event_definition.rb', line 93 def signal_name signal&.name end |