Class EventHandlerStrategy
java.lang.Object
org.bonitasoft.engine.execution.event.EventHandlerStrategy
- Direct Known Subclasses:
CoupleEventHandlerStrategy,TerminateEventHandlerStrategy,TimerEventHandlerStrategy
Strategy to handle one kind of event: TIMER, ERROR, SIGNAL or MESSAGE
- Author:
- Baptiste Mesta, Elias Ricken de Medeiros, Celine Souchet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract OperationsWithContextgetOperations(SWaitingEvent waitingEvent, Long triggeringElementID) protected DataInstanceContainergetParentContainerType(SFlowNodeInstance flowNodeInstance) abstract voidhandleCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SCatchEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) abstract voidhandleEventSubProcess(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessInstance) booleanhandlePostThrowEvent(SProcessDefinition processDefinition, SEndEventDefinition sEventDefinition, SThrowEventInstance sThrowEventInstance, SEventTriggerDefinition sEventTriggerDefinition, SFlowNodeInstance sFlowNodeInstance) voidhandleThrowEvent(SEventTriggerDefinition sEventTriggerDefinition) abstract voidhandleThrowEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SThrowEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) abstract voidunregisterCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessIsnstance)
-
Constructor Details
-
EventHandlerStrategy
public EventHandlerStrategy()
-
-
Method Details
-
handleThrowEvent
public abstract void handleThrowEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SThrowEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException - Throws:
SBonitaException
-
handleCatchEvent
public abstract void handleCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SCatchEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException - Throws:
SBonitaException
-
handleEventSubProcess
public abstract void handleEventSubProcess(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessInstance) throws SBonitaException - Throws:
SBonitaException
-
unregisterCatchEvent
public abstract void unregisterCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessIsnstance) throws SBonitaException - Throws:
SBonitaException
-
getOperations
public abstract OperationsWithContext getOperations(SWaitingEvent waitingEvent, Long triggeringElementID) throws SBonitaException - Throws:
SBonitaException
-
handleThrowEvent
public void handleThrowEvent(SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException - Throws:
SBonitaException
-
handlePostThrowEvent
public boolean handlePostThrowEvent(SProcessDefinition processDefinition, SEndEventDefinition sEventDefinition, SThrowEventInstance sThrowEventInstance, SEventTriggerDefinition sEventTriggerDefinition, SFlowNodeInstance sFlowNodeInstance) throws SBonitaException - Throws:
SBonitaException
-
getParentContainerType
-