public class ErrorEventHandlerStrategy extends CoupleEventHandlerStrategy
| Constructor and Description |
|---|
ErrorEventHandlerStrategy(EventInstanceService eventInstanceService,
ProcessInstanceService processInstanceService,
FlowNodeInstanceService flowNodeInstanceService,
ContainerRegistry containerRegistry,
ProcessDefinitionService processDefinitionService,
EventsHandler eventsHandler,
TechnicalLoggerService logger,
ProcessInstanceInterruptor processInstanceInterruptor) |
| Modifier and Type | Method and Description |
|---|---|
OperationsWithContext |
getOperations(SWaitingEvent waitingEvent,
java.lang.Long triggeringElementID) |
protected SWaitingErrorEvent |
getWaitingErrorEventFromBoundary(SThrowEventInstance eventInstance,
java.lang.String errorCode,
SFlowNodeInstance flowNodeInstance) |
protected SWaitingErrorEvent |
getWaitingErrorEventFromBoundary(java.lang.String errorCode,
SFlowNodeInstance flowNodeInstance,
java.util.List<SBoundaryEventDefinition> boundaryEventDefinitions) |
void |
handleCatchEvent(SProcessDefinition processDefinition,
SEventDefinition eventDefinition,
SCatchEventInstance eventInstance,
SEventTriggerDefinition sEventTriggerDefinition) |
void |
handleEventSubProcess(SProcessDefinition processDefinition,
SEventDefinition eventDefinition,
SEventTriggerDefinition sEventTriggerDefinition,
long subProcessId,
SProcessInstance parentProcessInstance) |
boolean |
handlePostThrowEvent(SProcessDefinition processDefinition,
SEndEventDefinition sEventDefinition,
SThrowEventInstance sThrowEventInstance,
SEventTriggerDefinition sEventTriggerDefinition,
SFlowNodeInstance sFlowNodeInstance) |
void |
handleThrowEvent(SEventTriggerDefinition sEventTriggerDefinition) |
void |
handleThrowEvent(SProcessDefinition processDefinition,
SEventDefinition eventDefinition,
SThrowEventInstance eventInstance,
SEventTriggerDefinition sEventTriggerDefinition) |
getEventInstanceService, unregisterCatchEventgetParentContainerTypepublic ErrorEventHandlerStrategy(EventInstanceService eventInstanceService, ProcessInstanceService processInstanceService, FlowNodeInstanceService flowNodeInstanceService, ContainerRegistry containerRegistry, ProcessDefinitionService processDefinitionService, EventsHandler eventsHandler, TechnicalLoggerService logger, ProcessInstanceInterruptor processInstanceInterruptor)
public void handleThrowEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SThrowEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException
handleThrowEvent in class EventHandlerStrategySBonitaExceptionpublic void handleThrowEvent(SEventTriggerDefinition sEventTriggerDefinition)
handleThrowEvent in class EventHandlerStrategypublic boolean handlePostThrowEvent(SProcessDefinition processDefinition, SEndEventDefinition sEventDefinition, SThrowEventInstance sThrowEventInstance, SEventTriggerDefinition sEventTriggerDefinition, SFlowNodeInstance sFlowNodeInstance) throws SBonitaException
handlePostThrowEvent in class EventHandlerStrategySBonitaExceptionprotected SWaitingErrorEvent getWaitingErrorEventFromBoundary(SThrowEventInstance eventInstance, java.lang.String errorCode, SFlowNodeInstance flowNodeInstance) throws SBonitaException
SBonitaExceptionprotected SWaitingErrorEvent getWaitingErrorEventFromBoundary(java.lang.String errorCode, SFlowNodeInstance flowNodeInstance, java.util.List<SBoundaryEventDefinition> boundaryEventDefinitions) throws SWaitingEventReadException
SWaitingEventReadExceptionpublic void handleCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SCatchEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws SBonitaException
handleCatchEvent in class EventHandlerStrategySBonitaExceptionpublic OperationsWithContext getOperations(SWaitingEvent waitingEvent, java.lang.Long triggeringElementID)
getOperations in class EventHandlerStrategypublic void handleEventSubProcess(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, SProcessInstance parentProcessInstance) throws SBonitaException
handleEventSubProcess in class EventHandlerStrategySBonitaException