public abstract class Scenario extends Object
| Constructor and Description |
|---|
Scenario() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.camunda.bpm.engine.runtime.ProcessInstance |
instance(ProcessScenario scenario)
Retrieve the process instance run by the scenario provided as
parameter.
|
abstract List<org.camunda.bpm.engine.runtime.ProcessInstance> |
instances(ProcessScenario scenario)
Retrieve the process instances run by the scenario provided as
parameter.
|
static ProcessRunner.StartableRunner |
run(ProcessScenario scenario)
Run a new process instance by means of the scenario interface
provided as parameter.
|
static ProcessRunner |
use(ProcessScenario scenario)
Integrate an existing process instance (e.g.
|
public static ProcessRunner.StartableRunner run(ProcessScenario scenario)
scenario - interface to be used for running the process
instancepublic static ProcessRunner use(ProcessScenario scenario)
scenario - interface to be used for running the process
instancepublic abstract org.camunda.bpm.engine.runtime.ProcessInstance instance(ProcessScenario scenario)
scenario - for which the process instance should be deliveredIllegalStateException - in case the scenario executed more
than a single process instance based on the scenario provided as
a parameter.public abstract List<org.camunda.bpm.engine.runtime.ProcessInstance> instances(ProcessScenario scenario)
scenario - for which the process instances should be deliveredCopyright © 2016 plexiti GmbH. All rights reserved.