Package org.camunda.bpm.scenario.run
Interface ProcessRunner.ExecutableRunner
-
- All Known Subinterfaces:
ProcessRunner.ExecutableRunner.StartingByKey,ProcessRunner.ExecutableRunner.StartingByMessage,ProcessRunner.ExecutableRunner.StartingByStarter
- All Known Implementing Classes:
MockedProcessRunnerImpl,ProcessRunnerImpl
- Enclosing interface:
- ProcessRunner
public static interface ProcessRunner.ExecutableRunner
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceProcessRunner.ExecutableRunner.StartingByKeystatic interfaceProcessRunner.ExecutableRunner.StartingByMessagestatic interfaceProcessRunner.ExecutableRunner.StartingByStarter
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessRunner.ExecutableRunnerengine(org.camunda.bpm.engine.ProcessEngine processEngine)Provide a custom process engine to the scenario run.Scenarioexecute()Execute the fully defined scenario run.ProcessRunner.StartableRunnerrun(ProcessScenario scenario)Run another new process instance by means of the scenario interface provided as parameter.
-
-
-
Method Detail
-
engine
ProcessRunner.ExecutableRunner engine(org.camunda.bpm.engine.ProcessEngine processEngine)
Provide a custom process engine to the scenario run. You just need to call it in case you ramp up more than one process engine during your tests.- Parameters:
processEngine- to be used by the scenario run
-
execute
Scenario execute()
Execute the fully defined scenario run.- Returns:
- an executed scenario
-
run
ProcessRunner.StartableRunner run(ProcessScenario scenario)
Run another new process instance by means of the scenario interface provided as parameter. .- Parameters:
scenario- interface to be used for running the process instance
-
-