Class: Zeebe::CalledElement
- Inherits:
-
BPMN::Extension
- Object
- BPMN::Extension
- Zeebe::CalledElement
- Defined in:
- lib/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.
17 18 19 20 21 22 23 |
# File 'lib/bpmn/extensions.rb', line 17 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.
15 16 17 |
# File 'lib/bpmn/extensions.rb', line 15 def process_id @process_id end |
#propagate_all_child_variables ⇒ Object
Returns the value of attribute propagate_all_child_variables.
15 16 17 |
# File 'lib/bpmn/extensions.rb', line 15 def propagate_all_child_variables @propagate_all_child_variables end |
#propagate_all_parent_variables ⇒ Object
Returns the value of attribute propagate_all_parent_variables.
15 16 17 |
# File 'lib/bpmn/extensions.rb', line 15 def propagate_all_parent_variables @propagate_all_parent_variables end |