Class: ProcessEngine::Parser::Extension::ExecutionListener

Inherits:
Object
  • Object
show all
Includes:
Listener
Defined in:
app/models/process_engine/parser/extension/execution_listener.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#elementObject (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