Class: ProcessEngine::Parser::Extension::ExecutionListener
- Inherits:
-
Object
- Object
- ProcessEngine::Parser::Extension::ExecutionListener
- Includes:
- Listener
- Defined in:
- app/models/process_engine/parser/extension/execution_listener.rb
Instance Attribute Summary collapse
-
#element ⇒ Object
readonly
Returns the value of attribute element.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(element) ⇒ ExecutionListener
constructor
available option for event: start, end.
Constructor Details
#initialize(element) ⇒ ExecutionListener
available option for event: start, end
8 9 10 |
# File 'app/models/process_engine/parser/extension/execution_listener.rb', line 8 def initialize(element) @element = element end |
Instance Attribute Details
#element ⇒ Object (readonly)
Returns the value of attribute element.
2 3 4 |
# File 'app/models/process_engine/parser/extension/execution_listener.rb', line 2 def element @element end |
Class Method Details
.factory(extension_element) ⇒ Object
12 13 14 |
# File 'app/models/process_engine/parser/extension/execution_listener.rb', line 12 def self.factory(extension_element) extension_element.xpath("camunda:executionListener").map { |el| new(el) } end |