Class: ProcessEngine::Parser::ExclusiveGateway
- Inherits:
-
XmlNode
- Object
- XmlNode
- ProcessEngine::Parser::ExclusiveGateway
- Defined in:
- app/models/process_engine/parser/exclusive_gateway.rb
Instance Method Summary collapse
- #default_flow ⇒ Object
- #extension_elements ⇒ Object
-
#initialize(element) ⇒ ExclusiveGateway
constructor
A new instance of ExclusiveGateway.
- #to_h ⇒ Object
Constructor Details
#initialize(element) ⇒ ExclusiveGateway
Returns a new instance of ExclusiveGateway.
2 3 4 |
# File 'app/models/process_engine/parser/exclusive_gateway.rb', line 2 def initialize(element) super(element) end |
Instance Method Details
#default_flow ⇒ Object
6 7 8 |
# File 'app/models/process_engine/parser/exclusive_gateway.rb', line 6 def default_flow element["default"] end |
#extension_elements ⇒ Object
10 11 12 13 |
# File 'app/models/process_engine/parser/exclusive_gateway.rb', line 10 def extension_elements # support [executionListener], [property] custom_extension_elements(:execution_listeners, :properties) end |
#to_h ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'app/models/process_engine/parser/exclusive_gateway.rb', line 15 def to_h custom_ext = custom_extension_elements_hash(:execution_listeners, :properties) super.merge({ extension: { common: custom_ext, default_flow: default_flow } }) end |