Package org.activiti.engine.impl.runtime
Class ProcessInstanceBuilderImpl
java.lang.Object
org.activiti.engine.impl.runtime.ProcessInstanceBuilderImpl
- All Implemented Interfaces:
ProcessInstanceBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessKey(String businessKey) Set the businessKey of process instancecreate()Create the process instancebooleanmessageName(String messageName) Set the message name that needs to be used to look up the process definition that needs to be used to start the process instance.Set the name of process instanceprocessDefinitionId(String processDefinitionId) Set the id of the process definitionprocessDefinitionKey(String processDefinitionKey) Set the key of the process definition, latest version of the process definition with the given key.start()Start the process instanceSet the tenantId of process instancetransientVariable(String variableName, Object value) Adds a transient variable to the process instancetransientVariables(Map<String, Object> transientVariables) Sets the transient variablesAdds a variable to the process instanceSets the process variables
-
Field Details
-
runtimeService
-
processDefinitionId
-
processDefinitionKey
-
messageName
-
processInstanceName
-
businessKey
-
tenantId
-
variables
-
transientVariables
-
-
Constructor Details
-
ProcessInstanceBuilderImpl
-
-
Method Details
-
processDefinitionId
Description copied from interface:ProcessInstanceBuilderSet the id of the process definition- Specified by:
processDefinitionIdin interfaceProcessInstanceBuilder
-
processDefinitionKey
Description copied from interface:ProcessInstanceBuilderSet the key of the process definition, latest version of the process definition with the given key. If processDefinitionId was set this will be ignored- Specified by:
processDefinitionKeyin interfaceProcessInstanceBuilder
-
messageName
Description copied from interface:ProcessInstanceBuilderSet the message name that needs to be used to look up the process definition that needs to be used to start the process instance.- Specified by:
messageNamein interfaceProcessInstanceBuilder
-
name
Description copied from interface:ProcessInstanceBuilderSet the name of process instance- Specified by:
namein interfaceProcessInstanceBuilder
-
businessKey
Description copied from interface:ProcessInstanceBuilderSet the businessKey of process instance- Specified by:
businessKeyin interfaceProcessInstanceBuilder
-
tenantId
Description copied from interface:ProcessInstanceBuilderSet the tenantId of process instance- Specified by:
tenantIdin interfaceProcessInstanceBuilder
-
variables
Description copied from interface:ProcessInstanceBuilderSets the process variables- Specified by:
variablesin interfaceProcessInstanceBuilder
-
variable
Description copied from interface:ProcessInstanceBuilderAdds a variable to the process instance- Specified by:
variablein interfaceProcessInstanceBuilder
-
transientVariables
Description copied from interface:ProcessInstanceBuilderSets the transient variables- Specified by:
transientVariablesin interfaceProcessInstanceBuilder
-
transientVariable
Description copied from interface:ProcessInstanceBuilderAdds a transient variable to the process instance- Specified by:
transientVariablein interfaceProcessInstanceBuilder
-
hasProcessDefinitionIdOrKey
public boolean hasProcessDefinitionIdOrKey() -
start
Description copied from interface:ProcessInstanceBuilderStart the process instance- Specified by:
startin interfaceProcessInstanceBuilder
-
create
Description copied from interface:ProcessInstanceBuilderCreate the process instance- Specified by:
createin interfaceProcessInstanceBuilder
-
getProcessDefinitionId
-
getProcessDefinitionKey
-
getMessageName
-
getProcessInstanceName
-
getBusinessKey
-
getTenantId
-
getVariables
-
getTransientVariables
-