public class ProcessInterpreters extends Object
| Modifier and Type | Method and Description |
|---|---|
static ErrorException |
addContextAndWrap(Exception e,
String context)
Adds a process interpreter exception context to the exception.
|
static void |
init(ProcessInstance processInstance,
com.whitestein.lsps.model.ProcessDescription desc,
ProcessInterpreterContext pic,
boolean isStartedByInlinedEvent,
Exception startedByException)
Initializes the process state.
|
static void |
init(ProcessInstance processInstance,
ProcessInterpreterContext pic,
boolean isStartedByInlinedEvent,
Exception startedByException)
Initializes the process state.
|
static void |
proceed(ProcessInstance processInstance,
com.whitestein.lsps.model.ProcessDescription desc,
ProcessInterpreterContext pic,
ProcessingType processingType)
Moves the process state by one step forward.
|
static void |
proceed(ProcessInstance processInstance,
ProcessInterpreterContext pic,
ProcessingType processingType)
Moves the process state by one step forward.
|
static void |
terminate(ProcessInstance processInstance,
com.whitestein.lsps.model.ProcessDescription desc,
ProcessInterpreterContext pic,
TerminationReason reason)
Terminates the process with the given reason.
|
static void |
terminate(ProcessInstance processInstance,
ProcessInterpreterContext pic,
TerminationReason reason)
Terminates the process with the given reason.
|
public static void init(ProcessInstance processInstance, ProcessInterpreterContext pic, boolean isStartedByInlinedEvent, Exception startedByException) throws ErrorException
processInstance - pic - isStartedByInlinedEvent - startedByException - ErrorExceptionpublic static void init(ProcessInstance processInstance, com.whitestein.lsps.model.ProcessDescription desc, ProcessInterpreterContext pic, boolean isStartedByInlinedEvent, Exception startedByException) throws ErrorException
processInstance - desc - pic - isStartedByInlinedEvent - startedByException - ErrorExceptionpublic static ErrorException addContextAndWrap(Exception e, String context)
e - context - public static void proceed(ProcessInstance processInstance, ProcessInterpreterContext pic, ProcessingType processingType) throws ErrorException
processInstance - pic - processingType - ErrorException - when a BPMN error occurspublic static void proceed(ProcessInstance processInstance, com.whitestein.lsps.model.ProcessDescription desc, ProcessInterpreterContext pic, ProcessingType processingType) throws ErrorException
processInstance - desc - pic - processingType - ErrorException - when a BPMN error occurspublic static void terminate(ProcessInstance processInstance, ProcessInterpreterContext pic, TerminationReason reason) throws ErrorException
processInstance - pic - reason - ErrorExceptionpublic static void terminate(ProcessInstance processInstance, com.whitestein.lsps.model.ProcessDescription desc, ProcessInterpreterContext pic, TerminationReason reason) throws ErrorException
processInstance - desc - pic - reason - ErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.