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 |
processInstanceId |
protected DelegateCaseExecution |
scopeExecution |
protected DelegateCaseExecution |
sourceExecution |
protected String |
taskId |
protected String |
tenantId |
protected org.camunda.bpm.engine.variable.value.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 |
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.
|
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.
|
org.camunda.bpm.engine.variable.value.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 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 org.camunda.bpm.engine.variable.value.TypedValue value
public String getEventName()
DelegateCaseVariableInstance
CaseVariableListener
.getEventName
in interface DelegateCaseVariableInstance
getEventName
in interface DelegateVariableInstance<DelegateCaseExecution>
public void setEventName(String eventName)
public DelegateCaseExecution getSourceExecution()
DelegateCaseVariableInstance
getSourceExecution
in interface DelegateCaseVariableInstance
getSourceExecution
in interface DelegateVariableInstance<DelegateCaseExecution>
public void setSourceExecution(DelegateCaseExecution sourceExecution)
public DelegateCaseExecution getScopeExecution()
public void setScopeExecution(DelegateCaseExecution scopeExecution)
public String getId()
getId
in interface VariableInstance
public String getProcessInstanceId()
VariableInstance
getProcessInstanceId
in interface VariableInstance
public String getExecutionId()
VariableInstance
getExecutionId
in interface VariableInstance
public String getCaseInstanceId()
VariableInstance
getCaseInstanceId
in interface VariableInstance
public String getCaseExecutionId()
VariableInstance
getCaseExecutionId
in interface VariableInstance
public String getTaskId()
VariableInstance
getTaskId
in interface VariableInstance
public String getActivityInstanceId()
VariableInstance
getActivityInstanceId
in interface VariableInstance
public String getErrorMessage()
VariableInstance
getErrorMessage
in interface VariableInstance
public String getTenantId()
VariableInstance
null
if the variable belongs to no single tenant.getTenantId
in interface VariableInstance
public void setTenantId(String tenantId)
public String getTypeName()
VariableInstance
getTypeName
in interface VariableInstance
public String getName()
VariableInstance
getName
in interface VariableInstance
public Object getValue()
VariableInstance
getValue
in interface VariableInstance
public org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()
VariableInstance
getTypedValue
in interface VariableInstance
public ProcessEngineServices getProcessEngineServices()
ProcessEngineServicesAware
ProcessEngineServices
providing access to the
public API of the process engine.getProcessEngineServices
in interface ProcessEngineServicesAware
ProcessEngineServices
.public static DelegateCaseVariableInstanceImpl fromVariableInstance(VariableInstance variableInstance)
Copyright © 2017. All rights reserved.