Class ProcessInstanceWithVariablesImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ProcessInstanceWithVariablesImpl
-
- All Implemented Interfaces:
Execution
,ProcessInstance
,ProcessInstanceWithVariables
public class ProcessInstanceWithVariablesImpl extends java.lang.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 java.lang.String
getBusinessKey()
The business key of this process instance.java.lang.String
getCaseInstanceId()
The id of the case instance associated with this process instance.ExecutionEntity
getExecutionEntity()
java.lang.String
getId()
The unique identifier of the execution.java.lang.String
getProcessDefinitionId()
The id of the process definition of the process instance.java.lang.String
getProcessInstanceId()
Id of the root of the execution tree representing the process instance.java.lang.String
getRootProcessInstanceId()
The id of the root process instance associated with this process instance.java.lang.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 java.lang.String getProcessDefinitionId()
Description copied from interface:ProcessInstance
The id of the process definition of the process instance.- Specified by:
getProcessDefinitionId
in interfaceProcessInstance
-
getBusinessKey
public java.lang.String getBusinessKey()
Description copied from interface:ProcessInstance
The business key of this process instance.- Specified by:
getBusinessKey
in interfaceProcessInstance
-
getCaseInstanceId
public java.lang.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 java.lang.String getId()
Description copied from interface:Execution
The unique identifier of the execution.
-
getRootProcessInstanceId
public java.lang.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 java.lang.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 java.lang.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
-
-