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 ExecutionEntityexecutionEntityprotected VariableMapvariables
-
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.StringgetBusinessKey()The business key of this process instance.java.lang.StringgetCaseInstanceId()The id of the case instance associated with this process instance.ExecutionEntitygetExecutionEntity()java.lang.StringgetId()The unique identifier of the execution.java.lang.StringgetProcessDefinitionId()The id of the process definition of the process instance.java.lang.StringgetProcessInstanceId()Id of the root of the execution tree representing the process instance.java.lang.StringgetRootProcessInstanceId()The id of the root process instance associated with this process instance.java.lang.StringgetTenantId()The id of the tenant this execution belongs to.VariableMapgetVariables()Returns the latest variables of the process instance.booleanisEnded()Indicates if the execution is ended.booleanisSuspended()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:ProcessInstanceWithVariablesReturns the latest variables of the process instance.- Specified by:
getVariablesin interfaceProcessInstanceWithVariables- Returns:
- the latest variables
-
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
Description copied from interface:ProcessInstanceThe id of the process definition of the process instance.- Specified by:
getProcessDefinitionIdin interfaceProcessInstance
-
getBusinessKey
public java.lang.String getBusinessKey()
Description copied from interface:ProcessInstanceThe business key of this process instance.- Specified by:
getBusinessKeyin interfaceProcessInstance
-
getCaseInstanceId
public java.lang.String getCaseInstanceId()
Description copied from interface:ProcessInstanceThe id of the case instance associated with this process instance.- Specified by:
getCaseInstanceIdin interfaceProcessInstance
-
isSuspended
public boolean isSuspended()
Description copied from interface:ProcessInstancereturns true if the process instance is suspended- Specified by:
isSuspendedin interfaceExecution- Specified by:
isSuspendedin interfaceProcessInstance
-
getId
public java.lang.String getId()
Description copied from interface:ExecutionThe unique identifier of the execution.
-
getRootProcessInstanceId
public java.lang.String getRootProcessInstanceId()
Description copied from interface:ProcessInstanceThe id of the root process instance associated with this process instance.- Specified by:
getRootProcessInstanceIdin interfaceProcessInstance
-
isEnded
public boolean isEnded()
Description copied from interface:ExecutionIndicates if the execution is ended.
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
Description copied from interface:ExecutionId 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:
getProcessInstanceIdin interfaceExecution
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:ExecutionThe id of the tenant this execution belongs to. Can benullif the execution belongs to no single tenant.- Specified by:
getTenantIdin interfaceExecution
-
-