Class DelegateCaseVariableInstanceImpl
java.lang.Object
org.camunda.bpm.engine.impl.variable.listener.DelegateCaseVariableInstanceImpl
- All Implemented Interfaces:
DelegateCaseVariableInstance
,DelegateVariableInstance<DelegateCaseExecution>
,ProcessEngineServicesAware
,VariableInstance
public class DelegateCaseVariableInstanceImpl
extends Object
implements DelegateCaseVariableInstance
- Author:
- Thorben Lindhauer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected DelegateCaseExecution
protected DelegateCaseExecution
protected String
protected String
protected TypedValue
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromVariableInstance
(VariableInstance variableInstance) Returns the corresponding activity instance id.Returns the corresponding batch id.Returns the corresponding case execution id.Returns the corresponding case instance id.If the variable value could not be loaded, this returns the error message.The event name, which caused the listener to be notified.Returns the corresponding execution id.getId()
getName()
Returns the name of this variable instance.Return the corresponding process definition id.Returns theProcessEngine
providing access to the public API of the process engine.Returns theProcessEngineServices
providing access to the public API of the process engine.Returns the corresponding process instance id.Currently not part of public interface.The case execution in which context the variable was created/updated/deleted.Returns the corresponding task id.The id of the tenant this variable belongs to.Returns the TypedValue of this variable instance.Returns the name of the type of this variable instancegetValue()
Returns the value of this variable instance.void
setEventName
(String eventName) void
setScopeExecution
(DelegateCaseExecution scopeExecution) void
setSourceExecution
(DelegateCaseExecution sourceExecution) void
setTenantId
(String tenantId)
-
Field Details
-
eventName
-
sourceExecution
-
scopeExecution
-
variableId
-
processDefinitionId
-
processInstanceId
-
executionId
-
caseInstanceId
-
caseExecutionId
-
taskId
-
activityInstanceId
-
tenantId
-
errorMessage
-
name
-
value
-
-
Constructor Details
-
DelegateCaseVariableInstanceImpl
public DelegateCaseVariableInstanceImpl()
-
-
Method Details
-
getEventName
Description copied from interface:DelegateCaseVariableInstance
The event name, which caused the listener to be notified. Valid values are the constants defined inCaseVariableListener
.- Specified by:
getEventName
in interfaceDelegateCaseVariableInstance
- Specified by:
getEventName
in interfaceDelegateVariableInstance<DelegateCaseExecution>
-
setEventName
-
getSourceExecution
Description copied from interface:DelegateCaseVariableInstance
The case execution in which context the variable was created/updated/deleted.- Specified by:
getSourceExecution
in interfaceDelegateCaseVariableInstance
- Specified by:
getSourceExecution
in interfaceDelegateVariableInstance<DelegateCaseExecution>
-
setSourceExecution
-
getScopeExecution
Currently not part of public interface. -
setScopeExecution
-
getId
- Specified by:
getId
in interfaceVariableInstance
- Returns:
- the Id of this variable instance
-
getProcessDefinitionId
Description copied from interface:VariableInstance
Return the corresponding process definition id.- Specified by:
getProcessDefinitionId
in interfaceVariableInstance
-
getProcessInstanceId
Description copied from interface:VariableInstance
Returns the corresponding process instance id.- Specified by:
getProcessInstanceId
in interfaceVariableInstance
-
getExecutionId
Description copied from interface:VariableInstance
Returns the corresponding execution id.- Specified by:
getExecutionId
in interfaceVariableInstance
-
getCaseInstanceId
Description copied from interface:VariableInstance
Returns the corresponding case instance id.- Specified by:
getCaseInstanceId
in interfaceVariableInstance
-
getCaseExecutionId
Description copied from interface:VariableInstance
Returns the corresponding case execution id.- Specified by:
getCaseExecutionId
in interfaceVariableInstance
-
getTaskId
Description copied from interface:VariableInstance
Returns the corresponding task id.- Specified by:
getTaskId
in interfaceVariableInstance
-
getBatchId
Description copied from interface:VariableInstance
Returns the corresponding batch id.- Specified by:
getBatchId
in interfaceVariableInstance
-
getActivityInstanceId
Description copied from interface:VariableInstance
Returns the corresponding activity instance id.- Specified by:
getActivityInstanceId
in interfaceVariableInstance
-
getErrorMessage
Description copied from interface:VariableInstance
If the variable value could not be loaded, this returns the error message.- Specified by:
getErrorMessage
in interfaceVariableInstance
- Returns:
- an error message indicating why the variable value could not be loaded.
-
getTenantId
Description copied from interface:VariableInstance
The id of the tenant this variable belongs to. Can benull
if the variable belongs to no single tenant.- Specified by:
getTenantId
in interfaceVariableInstance
-
setTenantId
-
getTypeName
Description copied from interface:VariableInstance
Returns the name of the type of this variable instance- Specified by:
getTypeName
in interfaceVariableInstance
- Returns:
- the type name of the variable
-
getName
Description copied from interface:VariableInstance
Returns the name of this variable instance.- Specified by:
getName
in interfaceVariableInstance
-
getValue
Description copied from interface:VariableInstance
Returns the value of this variable instance.- Specified by:
getValue
in interfaceVariableInstance
-
getTypedValue
Description copied from interface:VariableInstance
Returns the TypedValue of this variable instance.- Specified by:
getTypedValue
in interfaceVariableInstance
-
getProcessEngineServices
Description copied from interface:ProcessEngineServicesAware
Returns theProcessEngineServices
providing access to the public API of the process engine.- Specified by:
getProcessEngineServices
in interfaceProcessEngineServicesAware
- Returns:
- the
ProcessEngineServices
.
-
getProcessEngine
Description copied from interface:ProcessEngineServicesAware
Returns theProcessEngine
providing access to the public API of the process engine.- Specified by:
getProcessEngine
in interfaceProcessEngineServicesAware
- Returns:
- the
ProcessEngine
.
-
fromVariableInstance
public static DelegateCaseVariableInstanceImpl fromVariableInstance(VariableInstance variableInstance)
-