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 Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected DelegateCaseExecutionprotected DelegateCaseExecutionprotected Stringprotected Stringprotected org.camunda.bpm.engine.variable.value.TypedValueprotected 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 theProcessEngineproviding access to the public API of the process engine.Returns theProcessEngineServicesproviding 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.org.camunda.bpm.engine.variable.value.TypedValueReturns the TypedValue of this variable instance.Returns the name of the type of this variable instancegetValue()Returns the value of this variable instance.voidsetEventName(String eventName) voidsetScopeExecution(DelegateCaseExecution scopeExecution) voidsetSourceExecution(DelegateCaseExecution sourceExecution) voidsetTenantId(String tenantId)
-
Field Details
-
eventName
-
sourceExecution
-
scopeExecution
-
variableId
-
processDefinitionId
-
processInstanceId
-
executionId
-
caseInstanceId
-
caseExecutionId
-
taskId
-
activityInstanceId
-
tenantId
-
errorMessage
-
name
-
value
protected org.camunda.bpm.engine.variable.value.TypedValue value
-
-
Constructor Details
-
DelegateCaseVariableInstanceImpl
public DelegateCaseVariableInstanceImpl()
-
-
Method Details
-
getEventName
Description copied from interface:DelegateCaseVariableInstanceThe event name, which caused the listener to be notified. Valid values are the constants defined inCaseVariableListener.- Specified by:
getEventNamein interfaceDelegateCaseVariableInstance- Specified by:
getEventNamein interfaceDelegateVariableInstance<DelegateCaseExecution>
-
setEventName
-
getSourceExecution
Description copied from interface:DelegateCaseVariableInstanceThe case execution in which context the variable was created/updated/deleted.- Specified by:
getSourceExecutionin interfaceDelegateCaseVariableInstance- Specified by:
getSourceExecutionin interfaceDelegateVariableInstance<DelegateCaseExecution>
-
setSourceExecution
-
getScopeExecution
Currently not part of public interface. -
setScopeExecution
-
getId
- Specified by:
getIdin interfaceVariableInstance- Returns:
- the Id of this variable instance
-
getProcessDefinitionId
Description copied from interface:VariableInstanceReturn the corresponding process definition id.- Specified by:
getProcessDefinitionIdin interfaceVariableInstance
-
getProcessInstanceId
Description copied from interface:VariableInstanceReturns the corresponding process instance id.- Specified by:
getProcessInstanceIdin interfaceVariableInstance
-
getExecutionId
Description copied from interface:VariableInstanceReturns the corresponding execution id.- Specified by:
getExecutionIdin interfaceVariableInstance
-
getCaseInstanceId
Description copied from interface:VariableInstanceReturns the corresponding case instance id.- Specified by:
getCaseInstanceIdin interfaceVariableInstance
-
getCaseExecutionId
Description copied from interface:VariableInstanceReturns the corresponding case execution id.- Specified by:
getCaseExecutionIdin interfaceVariableInstance
-
getTaskId
Description copied from interface:VariableInstanceReturns the corresponding task id.- Specified by:
getTaskIdin interfaceVariableInstance
-
getBatchId
Description copied from interface:VariableInstanceReturns the corresponding batch id.- Specified by:
getBatchIdin interfaceVariableInstance
-
getActivityInstanceId
Description copied from interface:VariableInstanceReturns the corresponding activity instance id.- Specified by:
getActivityInstanceIdin interfaceVariableInstance
-
getErrorMessage
Description copied from interface:VariableInstanceIf the variable value could not be loaded, this returns the error message.- Specified by:
getErrorMessagein interfaceVariableInstance- Returns:
- an error message indicating why the variable value could not be loaded.
-
getTenantId
Description copied from interface:VariableInstanceThe id of the tenant this variable belongs to. Can benullif the variable belongs to no single tenant.- Specified by:
getTenantIdin interfaceVariableInstance
-
setTenantId
-
getTypeName
Description copied from interface:VariableInstanceReturns the name of the type of this variable instance- Specified by:
getTypeNamein interfaceVariableInstance- Returns:
- the type name of the variable
-
getName
Description copied from interface:VariableInstanceReturns the name of this variable instance.- Specified by:
getNamein interfaceVariableInstance
-
getValue
Description copied from interface:VariableInstanceReturns the value of this variable instance.- Specified by:
getValuein interfaceVariableInstance
-
getTypedValue
public org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()Description copied from interface:VariableInstanceReturns the TypedValue of this variable instance.- Specified by:
getTypedValuein interfaceVariableInstance
-
getProcessEngineServices
Description copied from interface:ProcessEngineServicesAwareReturns theProcessEngineServicesproviding access to the public API of the process engine.- Specified by:
getProcessEngineServicesin interfaceProcessEngineServicesAware- Returns:
- the
ProcessEngineServices.
-
getProcessEngine
Description copied from interface:ProcessEngineServicesAwareReturns theProcessEngineproviding access to the public API of the process engine.- Specified by:
getProcessEnginein interfaceProcessEngineServicesAware- Returns:
- the
ProcessEngine.
-
fromVariableInstance
public static DelegateCaseVariableInstanceImpl fromVariableInstance(VariableInstance variableInstance)
-