public class DelegateCaseVariableInstanceImpl extends Object implements DelegateCaseVariableInstance
| Modifier and Type | Field and Description |
|---|---|
protected String |
activityInstanceId |
protected String |
caseExecutionId |
protected String |
caseInstanceId |
protected String |
errorMessage |
protected String |
eventName |
protected String |
executionId |
protected String |
name |
protected String |
processDefinitionId |
protected String |
processInstanceId |
protected DelegateCaseExecution |
scopeExecution |
protected DelegateCaseExecution |
sourceExecution |
protected String |
taskId |
protected String |
tenantId |
protected TypedValue |
value |
protected String |
variableId |
| Constructor and Description |
|---|
DelegateCaseVariableInstanceImpl() |
| Modifier and Type | Method and Description |
|---|---|
static DelegateCaseVariableInstanceImpl |
fromVariableInstance(VariableInstance variableInstance) |
String |
getActivityInstanceId()
Returns the corresponding activity instance id.
|
String |
getBatchId()
Returns the corresponding batch id.
|
String |
getCaseExecutionId()
Returns the corresponding case execution id.
|
String |
getCaseInstanceId()
Returns the corresponding case instance id.
|
String |
getErrorMessage()
If the variable value could not be loaded, this returns the error message.
|
String |
getEventName()
The event name, which caused the listener to be notified.
|
String |
getExecutionId()
Returns the corresponding execution id.
|
String |
getId() |
String |
getName()
Returns the name of this variable instance.
|
String |
getProcessDefinitionId()
Return the corresponding process definition id.
|
ProcessEngine |
getProcessEngine()
Returns the
ProcessEngine providing access to the
public API of the process engine. |
ProcessEngineServices |
getProcessEngineServices()
Returns the
ProcessEngineServices providing access to the
public API of the process engine. |
String |
getProcessInstanceId()
Returns the corresponding process instance id.
|
DelegateCaseExecution |
getScopeExecution()
Currently not part of public interface.
|
DelegateCaseExecution |
getSourceExecution()
The case execution in which context the variable was created/updated/deleted.
|
String |
getTaskId()
Returns the corresponding task id.
|
String |
getTenantId()
The id of the tenant this variable belongs to.
|
TypedValue |
getTypedValue()
Returns the TypedValue of this variable instance.
|
String |
getTypeName()
Returns the name of the type of this variable instance
|
Object |
getValue()
Returns the value of this variable instance.
|
void |
setEventName(String eventName) |
void |
setScopeExecution(DelegateCaseExecution scopeExecution) |
void |
setSourceExecution(DelegateCaseExecution sourceExecution) |
void |
setTenantId(String tenantId) |
protected String eventName
protected DelegateCaseExecution sourceExecution
protected DelegateCaseExecution scopeExecution
protected String variableId
protected String processDefinitionId
protected String processInstanceId
protected String executionId
protected String caseInstanceId
protected String caseExecutionId
protected String taskId
protected String activityInstanceId
protected String tenantId
protected String errorMessage
protected String name
protected TypedValue value
public String getEventName()
DelegateCaseVariableInstanceCaseVariableListener.getEventName in interface DelegateCaseVariableInstancegetEventName in interface DelegateVariableInstance<DelegateCaseExecution>public void setEventName(String eventName)
public DelegateCaseExecution getSourceExecution()
DelegateCaseVariableInstancegetSourceExecution in interface DelegateCaseVariableInstancegetSourceExecution in interface DelegateVariableInstance<DelegateCaseExecution>public void setSourceExecution(DelegateCaseExecution sourceExecution)
public DelegateCaseExecution getScopeExecution()
public void setScopeExecution(DelegateCaseExecution scopeExecution)
public String getId()
getId in interface VariableInstancepublic String getProcessDefinitionId()
VariableInstancegetProcessDefinitionId in interface VariableInstancepublic String getProcessInstanceId()
VariableInstancegetProcessInstanceId in interface VariableInstancepublic String getExecutionId()
VariableInstancegetExecutionId in interface VariableInstancepublic String getCaseInstanceId()
VariableInstancegetCaseInstanceId in interface VariableInstancepublic String getCaseExecutionId()
VariableInstancegetCaseExecutionId in interface VariableInstancepublic String getTaskId()
VariableInstancegetTaskId in interface VariableInstancepublic String getBatchId()
VariableInstancegetBatchId in interface VariableInstancepublic String getActivityInstanceId()
VariableInstancegetActivityInstanceId in interface VariableInstancepublic String getErrorMessage()
VariableInstancegetErrorMessage in interface VariableInstancepublic String getTenantId()
VariableInstancenull
if the variable belongs to no single tenant.getTenantId in interface VariableInstancepublic void setTenantId(String tenantId)
public String getTypeName()
VariableInstancegetTypeName in interface VariableInstancepublic String getName()
VariableInstancegetName in interface VariableInstancepublic Object getValue()
VariableInstancegetValue in interface VariableInstancepublic TypedValue getTypedValue()
VariableInstancegetTypedValue in interface VariableInstancepublic ProcessEngineServices getProcessEngineServices()
ProcessEngineServicesAwareProcessEngineServices providing access to the
public API of the process engine.getProcessEngineServices in interface ProcessEngineServicesAwareProcessEngineServices.public ProcessEngine getProcessEngine()
ProcessEngineServicesAwareProcessEngine providing access to the
public API of the process engine.getProcessEngine in interface ProcessEngineServicesAwareProcessEngine.public static DelegateCaseVariableInstanceImpl fromVariableInstance(VariableInstance variableInstance)
Copyright © 2013–2021 camunda services GmbH. All rights reserved.