|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionService
manages runtime process executions.
Method Summary | |
---|---|
Execution |
findExecution(java.lang.String executionId)
the execution that is uniquely defined by the process definition and the business key. |
Execution |
findExecution(java.lang.String processDefinitionName,
java.lang.String executionKey)
the execution that is uniquely defined by the process definition and the business key. |
java.lang.Object |
getVariable(java.lang.String executionId,
java.lang.String variableName)
retrieves a variable |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables(java.lang.String executionId,
java.util.List<java.lang.String> variableNames)
retrieves a map of variables |
Execution |
setVariable(java.lang.String executionId,
java.lang.String name,
java.lang.Object value)
creates or overwrites a variable value on the referenced execution |
Execution |
setVariables(java.lang.String executionId,
java.util.Map<java.lang.String,java.lang.Object> variables)
creates or overwrites the variable values on the referenced execution |
Execution |
signalExecution(java.lang.String executionId)
provides an external trigger to an execution. |
Execution |
signalExecution(java.lang.String executionId,
java.util.Map<java.lang.String,java.lang.Object> parameters)
provides a external trigger to an execution with parameters. |
Execution |
signalExecution(java.lang.String executionId,
java.lang.String signalName)
provides a named external trigger to an execution. |
Execution |
signalExecution(java.lang.String executionId,
java.lang.String signalName,
java.util.Map<java.lang.String,java.lang.Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
signalExecutionByKey(java.lang.String processDefinitionName,
java.lang.String executionKey)
provides a named external trigger to an execution. |
Execution |
signalExecutionByKey(java.lang.String processDefinitionName,
java.lang.String executionKey,
java.util.Map<java.lang.String,java.lang.Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
signalExecutionByKey(java.lang.String processDefinitionName,
java.lang.String executionKey,
java.lang.String signalName)
provides a named external trigger to an execution. |
Execution |
signalExecutionByKey(java.lang.String processDefinitionName,
java.lang.String executionKey,
java.lang.String signalName,
java.util.Map<java.lang.String,java.lang.Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
startExecution(java.lang.String processDefinitionId)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecution(java.lang.String processDefinitionId,
java.util.Map<java.lang.String,java.lang.Object> variables)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecution(java.lang.String processDefinitionId,
java.util.Map<java.lang.String,java.lang.Object> variables,
java.lang.String executionKey)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecution(java.lang.String processDefinitionId,
java.lang.String executionKey)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecutionInLatest(java.lang.String processDefinitionName)
starts a new execution in the latest version of the given process definition. |
Execution |
startExecutionInLatest(java.lang.String processDefinitionName,
java.util.Map<java.lang.String,java.lang.Object> variables)
starts a new execution in the latest version of the given processDefinitionName. |
Execution |
startExecutionInLatest(java.lang.String processDefinitionName,
java.util.Map<java.lang.String,java.lang.Object> variables,
java.lang.String executionKey)
starts a new execution in the latest version of the given processDefinitionName. |
Execution |
startExecutionInLatest(java.lang.String processDefinitionName,
java.lang.String executionKey)
starts a new execution in the latest version of the given processDefinitionName. |
Method Detail |
---|
Execution startExecution(java.lang.String processDefinitionId)
processDefinitionId
- the unique id
of the process
definition.Execution startExecution(java.lang.String processDefinitionId, java.lang.String executionKey)
processDefinitionId
- the unique id
of the process
definition.executionKey
- is a user provided reference for the new execution that must be
unique over all process versions with the same name.Execution startExecution(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables)
processDefinitionId
- the unique id
of the process
definition.variables
- are the initial values of the process variables that will be set
before the execution starts.Execution startExecution(java.lang.String processDefinitionId, java.util.Map<java.lang.String,java.lang.Object> variables, java.lang.String executionKey)
processDefinitionId
- the unique id
of the process
definition.variables
- are the initial values of the process variables that will be set
before the execution starts.executionKey
- is a user provided reference for the new execution that must be
unique over all process versions with the same name.Execution startExecutionInLatest(java.lang.String processDefinitionName)
processDefinitionName
- is the name of the process definition for which the latest version
will be taken.Execution startExecutionInLatest(java.lang.String processDefinitionName, java.lang.String executionKey)
processDefinitionName
- is the name of the process definition for which the latest version
will be taken.executionKey
- is a user provided reference for the new execution that must be
unique over all process versions with the same name.Execution startExecutionInLatest(java.lang.String processDefinitionName, java.util.Map<java.lang.String,java.lang.Object> variables)
processDefinitionName
- is the name of the process definition for which the latest version
will be taken.variables
- are the initial values of the process variables that will be set
before the execution starts (read: before the initial node is
executed).Execution startExecutionInLatest(java.lang.String processDefinitionName, java.util.Map<java.lang.String,java.lang.Object> variables, java.lang.String executionKey)
processDefinitionName
- is the name of the process definition for which the latest version
will be taken.variables
- are the initial values of the process variables that will be set
before the execution starts.executionKey
- is a user provided reference for the new execution that must be
unique over all process versions with the same name.Execution findExecution(java.lang.String processDefinitionName, java.lang.String executionKey)
Execution findExecution(java.lang.String executionId)
Execution signalExecution(java.lang.String executionId)
Execution signalExecution(java.lang.String executionId, java.lang.String signalName)
Execution signalExecution(java.lang.String executionId, java.lang.String signalName, java.util.Map<java.lang.String,java.lang.Object> parameters)
Execution signalExecution(java.lang.String executionId, java.util.Map<java.lang.String,java.lang.Object> parameters)
Execution signalExecutionByKey(java.lang.String processDefinitionName, java.lang.String executionKey)
Execution signalExecutionByKey(java.lang.String processDefinitionName, java.lang.String executionKey, java.lang.String signalName)
Execution signalExecutionByKey(java.lang.String processDefinitionName, java.lang.String executionKey, java.util.Map<java.lang.String,java.lang.Object> parameters)
Execution signalExecutionByKey(java.lang.String processDefinitionName, java.lang.String executionKey, java.lang.String signalName, java.util.Map<java.lang.String,java.lang.Object> parameters)
Execution setVariable(java.lang.String executionId, java.lang.String name, java.lang.Object value)
Execution setVariables(java.lang.String executionId, java.util.Map<java.lang.String,java.lang.Object> variables)
java.lang.Object getVariable(java.lang.String executionId, java.lang.String variableName)
java.util.Map<java.lang.String,java.lang.Object> getVariables(java.lang.String executionId, java.util.List<java.lang.String> variableNames)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |