public abstract class InlineStartEventInterpreter extends Object
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.
|
Modifier | Constructor and Description |
---|---|
protected |
InlineStartEventInterpreter(ProcessInstance processInstance,
ModuleInstance moduleInstance,
ProcessInterpreterContext pic,
com.whitestein.lsps.model.BPMNProcessDescription desc) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Exception e,
Map<ReferenceHolder,Object> signalsToSet) |
protected abstract com.whitestein.lsps.model.InlinedStartEvent |
getEvent() |
protected ExecutionContext |
getEventContext() |
protected List<com.whitestein.lsps.model.CanBeInlined> |
getEventPath() |
String |
getStringPath(List<com.whitestein.lsps.model.CanBeInlined> path)
Return string representing path in the model.
|
protected Context |
getVariableContext() |
protected ExecutionContext |
getVariableExecutionContext() |
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 |
terminate(TerminationReason reason)
Terminates the process with the given reason.
|
protected QID |
varName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
proceed
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
protected InlineStartEventInterpreter(ProcessInstance processInstance, ModuleInstance moduleInstance, ProcessInterpreterContext pic, com.whitestein.lsps.model.BPMNProcessDescription desc)
protected abstract com.whitestein.lsps.model.InlinedStartEvent getEvent()
protected Context getVariableContext()
protected ExecutionContext getVariableExecutionContext()
protected QID varName()
protected List<com.whitestein.lsps.model.CanBeInlined> getEventPath()
public String getStringPath(List<com.whitestein.lsps.model.CanBeInlined> path)
path
- protected ExecutionContext getEventContext() throws ErrorException
ErrorException
protected void execute(Exception e, Map<ReferenceHolder,Object> signalsToSet) throws ErrorException
ErrorException
public void terminate(TerminationReason reason)
ProcessInterpreter
terminate
in interface ProcessInterpreter
public void init(boolean isStartedByInlinedEvent, Exception startedByException) throws ErrorException
init
in interface ProcessInterpreter
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.