Class: SpotFlow::Bpmn::IntermediateCatchEvent

Inherits:
Event show all
Defined in:
lib/spot_flow/bpmn/event.rb

Instance Attribute Summary

Attributes inherited from Event

#event_definitions

Attributes inherited from Step

#default, #default_ref, #incoming, #outgoing

Attributes inherited from Element

#extension_elements, #id, #name

Instance Method Summary collapse

Methods inherited from Event

#conditional_event_definition, #error_event_definition, #error_event_definitions, #escalation_event_definition, #event_definition_ids, #initialize, #is_conditional?, #is_error?, #is_escalation?, #is_message?, #is_none?, #is_signal?, #is_terminate?, #is_throwing?, #is_timer?, #message_event_definitions, #signal_event_definitions, #terminate_event_definition, #timer_event_definition

Methods inherited from Step

#converging?, #diverging?, #initialize, #input_mappings, #leave, #outgoing_flows, #output_mappings

Methods inherited from Element

#initialize, #inspect

Constructor Details

This class inherits a constructor from SpotFlow::Bpmn::Event

Instance Method Details

#execute(execution) ⇒ Object



145
146
147
148
# File 'lib/spot_flow/bpmn/event.rb', line 145

def execute(execution)
  super
  execution.wait
end

#is_catching?Boolean

Returns:

  • (Boolean)


141
142
143
# File 'lib/spot_flow/bpmn/event.rb', line 141

def is_catching?
  true
end

#signal(execution) ⇒ Object



150
151
152
# File 'lib/spot_flow/bpmn/event.rb', line 150

def signal(execution)
  leave(execution)
end