Class: SpotFlow::Zeebe::CalledElement

Inherits:
Bpmn::Extension show all
Defined in:
lib/spot_flow/bpmn/extensions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ CalledElement

Returns a new instance of CalledElement.



18
19
20
21
22
23
24
# File 'lib/spot_flow/bpmn/extensions.rb', line 18

def initialize(attributes = {})
  super(attributes.except(:propagate_all_child_variables))

  @propagate_all_parent_variables = true
  @propagate_all_parent_variables = attributes[:propagate_all_parent_variables] == "true" if attributes[:propagate_all_parent_variables].present?
  @propagate_all_child_variables = attributes[:propagate_all_child_variables] == "true"
end

Instance Attribute Details

#process_idObject

Returns the value of attribute process_id.



16
17
18
# File 'lib/spot_flow/bpmn/extensions.rb', line 16

def process_id
  @process_id
end

#propagate_all_child_variablesObject

Returns the value of attribute propagate_all_child_variables.



16
17
18
# File 'lib/spot_flow/bpmn/extensions.rb', line 16

def propagate_all_child_variables
  @propagate_all_child_variables
end

#propagate_all_parent_variablesObject

Returns the value of attribute propagate_all_parent_variables.



16
17
18
# File 'lib/spot_flow/bpmn/extensions.rb', line 16

def propagate_all_parent_variables
  @propagate_all_parent_variables
end