public class InlineStartErrorInterpreter extends InlineStartEventInterpreter
Modifier and Type | Field and Description |
---|---|
protected static String |
CONDITIONAL_EVENT__CONDITION |
protected RuntimeToPersistentConverter |
converter
Runtime-to-persistent converter.
|
protected E |
desc
Process description.
|
protected static String |
ERROR_EVENT__ERROR_CODE |
protected static String |
ERROR_EVENT__ERROR_CODE_REF |
protected ExecutionContext |
executionContext
Execution context.
|
protected VariableInitializator |
initializator
Variable initializator.
|
protected ModelInstance |
modelInstance
Model instance.
|
protected ModelProvider |
modelProvider
Model provider service.
|
protected ModuleInstance |
moduleInstance
Module instance.
|
protected ProcessInterpreterContext |
pic
Process interpreter context.
|
protected ProcessInstance |
processInstance
Process instance.
|
Constructor and Description |
---|
InlineStartErrorInterpreter(ProcessInstance processInstance,
ModuleInstance moduleInstance,
ProcessInterpreterContext pic,
com.whitestein.lsps.model.BPMNProcessDescription desc,
com.whitestein.lsps.model.InlinedErrorStartEvent event)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
protected com.whitestein.lsps.model.InlinedErrorStartEvent |
getEvent() |
protected boolean |
handleEscalationEventFlow(com.whitestein.lsps.model.ExecutableModelElement element,
com.whitestein.lsps.model.EscalationEventFlow flow,
ExecutionContext executionContext,
Escalation escalation,
boolean consumeEscalation) |
void |
init(boolean isStartedByInlinedEvent,
Exception startedByException)
Initializes the context state, sets all context variables to their initial values and creates
a new token at the start of the process.
|
void |
initInlined(Exception startedByException)
Initialize in in-lined process.
|
boolean |
isCatching(Exception e)
Returns true if error is caught by the event.
|
void |
proceed(ProcessingType processingType)
Moves the process state by one step forward.
|
void |
proceed(ProcessingType processingType,
Exception e) |
execute, getEventContext, getEventPath, getStringPath, getVariableContext, getVariableExecutionContext, terminate, varName
protected static final String CONDITIONAL_EVENT__CONDITION
protected static final String ERROR_EVENT__ERROR_CODE
protected static final String ERROR_EVENT__ERROR_CODE_REF
protected final ProcessInstance processInstance
protected final ModuleInstance moduleInstance
protected final ModelInstance modelInstance
protected final ProcessInterpreterContext pic
protected final ModelProvider modelProvider
protected final E desc
protected final ExecutionContext executionContext
protected final RuntimeToPersistentConverter converter
protected final VariableInitializator initializator
public InlineStartErrorInterpreter(ProcessInstance processInstance, ModuleInstance moduleInstance, ProcessInterpreterContext pic, com.whitestein.lsps.model.BPMNProcessDescription desc, com.whitestein.lsps.model.InlinedErrorStartEvent event)
processInstance
- moduleInstance
- pic
- desc
- event
- protected com.whitestein.lsps.model.InlinedErrorStartEvent getEvent()
getEvent
in class InlineStartEventInterpreter
public void init(boolean isStartedByInlinedEvent, Exception startedByException)
init
in interface ProcessInterpreter
public void initInlined(Exception startedByException) throws ErrorException
startedByException
- ErrorException
public boolean isCatching(Exception e) throws ErrorException
e
- ErrorException
public void proceed(ProcessingType processingType)
ProcessInterpreter
public void proceed(ProcessingType processingType, Exception e) throws ErrorException
processingType
- e
- ErrorException
protected boolean handleEscalationEventFlow(com.whitestein.lsps.model.ExecutableModelElement element, com.whitestein.lsps.model.EscalationEventFlow flow, ExecutionContext executionContext, Escalation escalation, boolean consumeEscalation) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.