Class: SpotFlow::Zeebe::CalledElement
- Inherits:
-
Bpmn::Extension
- Object
- Bpmn::Extension
- SpotFlow::Zeebe::CalledElement
- Defined in:
- lib/spot_flow/bpmn/extensions.rb
Instance Attribute Summary collapse
-
#process_id ⇒ Object
Returns the value of attribute process_id.
-
#propagate_all_child_variables ⇒ Object
Returns the value of attribute propagate_all_child_variables.
-
#propagate_all_parent_variables ⇒ Object
Returns the value of attribute propagate_all_parent_variables.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ CalledElement
constructor
A new instance of CalledElement.
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_id ⇒ Object
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_variables ⇒ Object
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_variables ⇒ Object
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 |