Class ProcessInstanceWithVariablesImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ProcessInstanceWithVariablesImpl
-
- All Implemented Interfaces:
Execution
,ProcessInstance
,ProcessInstanceWithVariables
public class ProcessInstanceWithVariablesImpl extends Object implements ProcessInstanceWithVariables
- Author:
- Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutionEntity
executionEntity
protected VariableMap
variables
-
Constructor Summary
Constructors Constructor Description ProcessInstanceWithVariablesImpl(ExecutionEntity executionEntity, VariableMap variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBusinessKey()
The business key of this process instance.String
getCaseInstanceId()
The id of the case instance associated with this process instance.ExecutionEntity
getExecutionEntity()
String
getId()
The unique identifier of the execution.String
getProcessDefinitionId()
The id of the process definition of the process instance.String
getProcessInstanceId()
Id of the root of the execution tree representing the process instance.String
getRootProcessInstanceId()
The id of the root process instance associated with this process instance.String
getTenantId()
The id of the tenant this execution belongs to.VariableMap
getVariables()
Returns the latest variables of the process instance.boolean
isEnded()
Indicates if the execution is ended.boolean
isSuspended()
returns true if the process instance is suspended
-
-
-
Field Detail
-
executionEntity
protected final ExecutionEntity executionEntity
-
variables
protected final VariableMap variables
-
-
Constructor Detail
-
ProcessInstanceWithVariablesImpl
public ProcessInstanceWithVariablesImpl(ExecutionEntity executionEntity, VariableMap variables)
-
-
Method Detail
-
getExecutionEntity
public ExecutionEntity getExecutionEntity()
-
getVariables
public VariableMap getVariables()
Description copied from interface:ProcessInstanceWithVariables
Returns the latest variables of the process instance.- Specified by:
getVariables
in interfaceProcessInstanceWithVariables
- Returns:
- the latest variables
-
getProcessDefinitionId
public String getProcessDefinitionId()
Description copied from interface:ProcessInstance
The id of the process definition of the process instance.- Specified by:
getProcessDefinitionId
in interfaceProcessInstance
-
getBusinessKey
public String getBusinessKey()
Description copied from interface:ProcessInstance
The business key of this process instance.- Specified by:
getBusinessKey
in interfaceProcessInstance
-
getCaseInstanceId
public String getCaseInstanceId()
Description copied from interface:ProcessInstance
The id of the case instance associated with this process instance.- Specified by:
getCaseInstanceId
in interfaceProcessInstance
-
isSuspended
public boolean isSuspended()
Description copied from interface:ProcessInstance
returns true if the process instance is suspended- Specified by:
isSuspended
in interfaceExecution
- Specified by:
isSuspended
in interfaceProcessInstance
-
getId
public String getId()
Description copied from interface:Execution
The unique identifier of the execution.
-
getRootProcessInstanceId
public String getRootProcessInstanceId()
Description copied from interface:ProcessInstance
The id of the root process instance associated with this process instance.- Specified by:
getRootProcessInstanceId
in interfaceProcessInstance
-
isEnded
public boolean isEnded()
Description copied from interface:Execution
Indicates if the execution is ended.
-
getProcessInstanceId
public String getProcessInstanceId()
Description copied from interface:Execution
Id of the root of the execution tree representing the process instance. It is the same asExecution.getId()
if this execution is the process instance.- Specified by:
getProcessInstanceId
in interfaceExecution
-
getTenantId
public String getTenantId()
Description copied from interface:Execution
The id of the tenant this execution belongs to. Can benull
if the execution belongs to no single tenant.- Specified by:
getTenantId
in interfaceExecution
-
-