public class ErrorEventHandlerStrategy extends CoupleEventHandlerStrategy
| Constructor and Description |
|---|
ErrorEventHandlerStrategy(org.bonitasoft.engine.core.process.instance.api.event.EventInstanceService eventInstanceService,
org.bonitasoft.engine.core.process.instance.api.ProcessInstanceService processInstanceService,
org.bonitasoft.engine.core.process.instance.api.FlowNodeInstanceService flowNodeInstanceService,
ContainerRegistry containerRegistry,
ProcessDefinitionService processDefinitionService,
EventsHandler eventsHandler,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger) |
| Modifier and Type | Method and Description |
|---|---|
OperationsWithContext |
getOperations(org.bonitasoft.engine.core.process.instance.model.event.handling.SWaitingEvent waitingEvent,
Long triggeringElementID) |
protected org.bonitasoft.engine.core.process.instance.model.event.handling.SWaitingErrorEvent |
getWaitingErrorEventFromBoundary(org.bonitasoft.engine.core.process.instance.model.event.SThrowEventInstance eventInstance,
String errorCode,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) |
protected org.bonitasoft.engine.core.process.instance.model.event.handling.SWaitingErrorEvent |
getWaitingErrorEventFromBoundary(String errorCode,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance,
List<SBoundaryEventDefinition> boundaryEventDefinitions) |
void |
handleCatchEvent(SProcessDefinition processDefinition,
SEventDefinition eventDefinition,
org.bonitasoft.engine.core.process.instance.model.event.SCatchEventInstance eventInstance,
SEventTriggerDefinition sEventTriggerDefinition) |
void |
handleEventSubProcess(SProcessDefinition processDefinition,
SEventDefinition eventDefinition,
SEventTriggerDefinition sEventTriggerDefinition,
long subProcessId,
org.bonitasoft.engine.core.process.instance.model.SProcessInstance parentProcessInstance) |
boolean |
handlePostThrowEvent(SProcessDefinition processDefinition,
SEndEventDefinition sEventDefinition,
org.bonitasoft.engine.core.process.instance.model.event.SThrowEventInstance sThrowEventInstance,
SEventTriggerDefinition sEventTriggerDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance sFlowNodeInstance) |
void |
handleThrowEvent(SEventTriggerDefinition sEventTriggerDefinition) |
void |
handleThrowEvent(SProcessDefinition processDefinition,
SEventDefinition eventDefinition,
org.bonitasoft.engine.core.process.instance.model.event.SThrowEventInstance eventInstance,
SEventTriggerDefinition sEventTriggerDefinition) |
getEventInstanceService, unregisterCatchEventgetParentContainerTypepublic ErrorEventHandlerStrategy(org.bonitasoft.engine.core.process.instance.api.event.EventInstanceService eventInstanceService,
org.bonitasoft.engine.core.process.instance.api.ProcessInstanceService processInstanceService,
org.bonitasoft.engine.core.process.instance.api.FlowNodeInstanceService flowNodeInstanceService,
ContainerRegistry containerRegistry,
ProcessDefinitionService processDefinitionService,
EventsHandler eventsHandler,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger)
public void handleThrowEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, org.bonitasoft.engine.core.process.instance.model.event.SThrowEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
handleThrowEvent in class EventHandlerStrategyorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void handleThrowEvent(SEventTriggerDefinition sEventTriggerDefinition)
handleThrowEvent in class EventHandlerStrategypublic boolean handlePostThrowEvent(SProcessDefinition processDefinition, SEndEventDefinition sEventDefinition, org.bonitasoft.engine.core.process.instance.model.event.SThrowEventInstance sThrowEventInstance, SEventTriggerDefinition sEventTriggerDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance sFlowNodeInstance) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
handlePostThrowEvent in class EventHandlerStrategyorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected org.bonitasoft.engine.core.process.instance.model.event.handling.SWaitingErrorEvent getWaitingErrorEventFromBoundary(org.bonitasoft.engine.core.process.instance.model.event.SThrowEventInstance eventInstance,
String errorCode,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected org.bonitasoft.engine.core.process.instance.model.event.handling.SWaitingErrorEvent getWaitingErrorEventFromBoundary(String errorCode, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance, List<SBoundaryEventDefinition> boundaryEventDefinitions) throws org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SWaitingEventReadException
org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SWaitingEventReadExceptionpublic void handleCatchEvent(SProcessDefinition processDefinition, SEventDefinition eventDefinition, org.bonitasoft.engine.core.process.instance.model.event.SCatchEventInstance eventInstance, SEventTriggerDefinition sEventTriggerDefinition) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
handleCatchEvent in class EventHandlerStrategyorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic OperationsWithContext getOperations(org.bonitasoft.engine.core.process.instance.model.event.handling.SWaitingEvent waitingEvent, Long triggeringElementID)
getOperations in class EventHandlerStrategypublic void handleEventSubProcess(SProcessDefinition processDefinition, SEventDefinition eventDefinition, SEventTriggerDefinition sEventTriggerDefinition, long subProcessId, org.bonitasoft.engine.core.process.instance.model.SProcessInstance parentProcessInstance) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
handleEventSubProcess in class EventHandlerStrategyorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionCopyright © 2016 Bonitasoft S.A.. All rights reserved.