Class ErrorEventHandlerStrategy
java.lang.Object
org.bonitasoft.engine.execution.event.EventHandlerStrategy
org.bonitasoft.engine.execution.event.CoupleEventHandlerStrategy
org.bonitasoft.engine.execution.event.ErrorEventHandlerStrategy
- Author:
- Elias Ricken de Medeiros, Celine Souchet, Matthieu Chaffotte
-
Constructor Summary
ConstructorsConstructorDescriptionErrorEventHandlerStrategy(EventInstanceService eventInstanceService, ProcessInstanceService processInstanceService, FlowNodeInstanceService flowNodeInstanceService, ProcessDefinitionService processDefinitionService, EventsHandler eventsHandler, ProcessInstanceInterruptor processInstanceInterruptor) -
Method Summary
Modifier and TypeMethodDescriptiongetOperations(SWaitingEvent waitingEvent, Long triggeringElementID) protected SWaitingErrorEventgetWaitingErrorEventFromBoundary(String errorCode, SFlowNodeInstance flowNodeInstance, List<SBoundaryEventDefinition> boundaryEventDefinitions) protected SWaitingErrorEventgetWaitingErrorEventFromBoundary(SThrowEventInstance eventInstance, String errorCode, SFlowNodeInstance flowNodeInstance) voidhandleCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SCatchEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) voidhandleEventSubProcess(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessInstance) booleanhandlePostThrowEvent(SProcessDefinition processDefinition, SEndEventDefinition sEventDefinition, SThrowEventInstance sThrowEventInstance, SEventTriggerDefinition sEventTriggerDefinition, SFlowNodeInstance sFlowNodeInstance) voidhandleThrowEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SThrowEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) Methods inherited from class org.bonitasoft.engine.execution.event.CoupleEventHandlerStrategy
getEventInstanceService, unregisterCatchEventMethods inherited from class org.bonitasoft.engine.execution.event.EventHandlerStrategy
getParentContainerType, handleThrowEvent
-
Constructor Details
-
ErrorEventHandlerStrategy
public ErrorEventHandlerStrategy(EventInstanceService eventInstanceService, ProcessInstanceService processInstanceService, FlowNodeInstanceService flowNodeInstanceService, ProcessDefinitionService processDefinitionService, EventsHandler eventsHandler, ProcessInstanceInterruptor processInstanceInterruptor)
-
-
Method Details
-
handleThrowEvent
public void handleThrowEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SThrowEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException - Specified by:
handleThrowEventin classEventHandlerStrategy- Throws:
SBonitaException
-
handlePostThrowEvent
public boolean handlePostThrowEvent(SProcessDefinition processDefinition, SEndEventDefinition sEventDefinition, SThrowEventInstance sThrowEventInstance, SEventTriggerDefinition sEventTriggerDefinition, SFlowNodeInstance sFlowNodeInstance) throws SBonitaException - Overrides:
handlePostThrowEventin classEventHandlerStrategy- Throws:
SBonitaException
-
getWaitingErrorEventFromBoundary
protected SWaitingErrorEvent getWaitingErrorEventFromBoundary(SThrowEventInstance eventInstance, String errorCode, SFlowNodeInstance flowNodeInstance) throws SBonitaException - Throws:
SBonitaException
-
getWaitingErrorEventFromBoundary
protected SWaitingErrorEvent getWaitingErrorEventFromBoundary(String errorCode, SFlowNodeInstance flowNodeInstance, List<SBoundaryEventDefinition> boundaryEventDefinitions) throws SWaitingEventReadException - Throws:
SWaitingEventReadException
-
handleCatchEvent
public void handleCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SCatchEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException - Specified by:
handleCatchEventin classEventHandlerStrategy- Throws:
SBonitaException
-
getOperations
- Specified by:
getOperationsin classEventHandlerStrategy
-
handleEventSubProcess
public void handleEventSubProcess(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessInstance) throws SBonitaException - Specified by:
handleEventSubProcessin classEventHandlerStrategy- Throws:
SBonitaException
-