public static interface ProcessRunner.StartableRunner
| Modifier and Type | Method and Description |
|---|---|
ProcessRunner.ExecutableRunner.StartingByStarter |
startBy(ProcessStarter starter)
Start the new process instance by means of custom code.
|
ProcessRunner.ExecutableRunner.StartingByKey |
startByKey(String processDefinitionKey)
Start the new process instance by providing a process definition key.
|
ProcessRunner.ExecutableRunner.StartingByKey |
startByKey(String processDefinitionKey,
Map<String,Object> variables)
Start the new process instance by providing a process definition key
and provide a few process instance variables.
|
ProcessRunner.ExecutableRunner.StartingByKey |
startByKey(String processDefinitionKey,
String businessKey)
Start the new process instance by providing a process definition key, business key
and provide a few process instance variables.
|
ProcessRunner.ExecutableRunner.StartingByKey |
startByKey(String processDefinitionKey,
String businessKey,
Map<String,Object> variables)
Start the new process instance by providing a process definition key, business key
and provide a few process instance variables.
|
ProcessRunner.ExecutableRunner.StartingByMessage |
startByMessage(String messageName)
Start the new process instance by providing a message name.
|
ProcessRunner.ExecutableRunner.StartingByMessage |
startByMessage(String messageName,
Map<String,Object> variables)
Start the new process instance by providing a message name
and provide a few process instance variables.
|
ProcessRunner.StartableRunner |
withMockedProcess(String processDefinitionKey)
Mock the scenario by deploying a process with the given process
definition key, but only a single wait state to interact with
(internally implemented with an external task).
|
ProcessRunner.ExecutableRunner.StartingByKey startByKey(String processDefinitionKey)
processDefinitionKey - to be used to start a process instanceProcessRunner.ExecutableRunner.StartingByKey startByKey(String processDefinitionKey, Map<String,Object> variables)
processDefinitionKey - to be used to start a process instancevariables - to be used as process instance variables from the start on.ProcessRunner.ExecutableRunner.StartingByKey startByKey(String processDefinitionKey, String businessKey, Map<String,Object> variables)
processDefinitionKey - to be used to start a process instancebusinessKey - to be used to start a process by business keyvariables - to be used as process instance variables from the start on.ProcessRunner.ExecutableRunner.StartingByKey startByKey(String processDefinitionKey, String businessKey)
processDefinitionKey - to be used to start a process instancebusinessKey - to be used to start a process by business keyProcessRunner.ExecutableRunner.StartingByMessage startByMessage(String messageName)
messageName - to be used to start a process instanceProcessRunner.ExecutableRunner.StartingByMessage startByMessage(String messageName, Map<String,Object> variables)
messageName - to be used to start a process instancevariables - to be used as process instance variables from the start on.ProcessRunner.ExecutableRunner.StartingByStarter startBy(ProcessStarter starter)
starter - interface which delivers a new process instanceProcessRunner.StartableRunner withMockedProcess(String processDefinitionKey)
processDefinitionKey - the process definition key to mockCopyright © 2021 plexiti GmbH. All rights reserved.