public class ProcessInstanceWithVariablesImpl extends Object implements ProcessInstanceWithVariables
Modifier and Type | Field and Description |
---|---|
protected ExecutionEntity |
executionEntity |
protected VariableMap |
variables |
Constructor and Description |
---|
ProcessInstanceWithVariablesImpl(ExecutionEntity executionEntity,
VariableMap variables) |
Modifier and Type | Method and 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
|
protected final ExecutionEntity executionEntity
protected final VariableMap variables
public ProcessInstanceWithVariablesImpl(ExecutionEntity executionEntity, VariableMap variables)
public ExecutionEntity getExecutionEntity()
public VariableMap getVariables()
ProcessInstanceWithVariables
getVariables
in interface ProcessInstanceWithVariables
public String getProcessDefinitionId()
ProcessInstance
getProcessDefinitionId
in interface ProcessInstance
public String getBusinessKey()
ProcessInstance
getBusinessKey
in interface ProcessInstance
public String getCaseInstanceId()
ProcessInstance
getCaseInstanceId
in interface ProcessInstance
public boolean isSuspended()
ProcessInstance
isSuspended
in interface Execution
isSuspended
in interface ProcessInstance
public String getId()
Execution
public String getRootProcessInstanceId()
ProcessInstance
getRootProcessInstanceId
in interface ProcessInstance
public boolean isEnded()
Execution
public String getProcessInstanceId()
Execution
Execution.getId()
if this execution is the process instance.getProcessInstanceId
in interface Execution
public String getTenantId()
Execution
null
if the execution belongs to no single tenant.getTenantId
in interface Execution
Copyright © 2021. All rights reserved.