Package su.onno.process
Class InMemoryProcessEngine
java.lang.Object
su.onno.process.InMemoryProcessEngine
Deprecated.
Legacy single-token graph test helper.
This helper supports the original human-task/end subset only. Production code and tests for
automatic, decision, timer, parallel, subprocess, cancellation, and migration behavior should
use the core JdbcProcessEngine with an in-memory H2 database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P,S extends Enum<S> & ProcessStepKey, O extends Enum<O>>
voidcomplete(ProcessInstance<P, S> instance, HumanTaskNode<P, S, O> task, O outcome) Deprecated.Complete the currently active task with an outcome accepted by that task's Java type.<P,S extends Enum<S> & ProcessStepKey>
ProcessInstance<P, S> start(ProcessDefinition<P, S> definition, P payload) Deprecated.Start a validated definition and enter its first route node.
-
Constructor Details
-
InMemoryProcessEngine
public InMemoryProcessEngine()Deprecated. -
InMemoryProcessEngine
Deprecated.
-
-
Method Details
-
start
public <P,S extends Enum<S> & ProcessStepKey> ProcessInstance<P,S> start(ProcessDefinition<P, S> definition, P payload) Deprecated.Start a validated definition and enter its first route node. -
complete
public <P,S extends Enum<S> & ProcessStepKey, void completeO extends Enum<O>> (ProcessInstance<P, S> instance, HumanTaskNode<P, S, O> task, O outcome) Deprecated.Complete the currently active task with an outcome accepted by that task's Java type.
-