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 <christopher.zell@camunda.com>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionProcessInstanceWithVariablesImpl
(ExecutionEntity executionEntity, VariableMap variables) -
Method Summary
Modifier and TypeMethodDescriptionThe business key of this process instance.The id of the case instance associated with this process instance.getId()
The unique identifier of the execution.The id of the process definition of the process instance.Id of the root of the execution tree representing the process instance.The id of the root process instance associated with this process instance.The id of the tenant this execution belongs to.Returns the latest variables of the process instance.boolean
isEnded()
Indicates if the execution is ended.boolean
returns true if the process instance is suspended
-
Field Details
-
executionEntity
-
variables
-
-
Constructor Details
-
ProcessInstanceWithVariablesImpl
-
-
Method Details
-
getExecutionEntity
-
getVariables
Description copied from interface:ProcessInstanceWithVariables
Returns the latest variables of the process instance.- Specified by:
getVariables
in interfaceProcessInstanceWithVariables
- Returns:
- the latest variables
-
getProcessDefinitionId
Description copied from interface:ProcessInstance
The id of the process definition of the process instance.- Specified by:
getProcessDefinitionId
in interfaceProcessInstance
-
getBusinessKey
Description copied from interface:ProcessInstance
The business key of this process instance.- Specified by:
getBusinessKey
in interfaceProcessInstance
-
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
Description copied from interface:Execution
The unique identifier of the execution. -
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
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
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
-