Class TenantIdProviderProcessInstanceContext
java.lang.Object
org.camunda.bpm.engine.impl.cfg.multitenancy.TenantIdProviderProcessInstanceContext
Provides information about a starting process instance to a
TenantIdProvider
implementation.- Since:
- 7.5
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected ProcessDefinition
protected DelegateCaseExecution
protected DelegateExecution
protected VariableMap
-
Constructor Summary
ConstructorDescriptionTenantIdProviderProcessInstanceContext
(ProcessDefinition processDefinition, VariableMap variables) TenantIdProviderProcessInstanceContext
(ProcessDefinition processDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution) TenantIdProviderProcessInstanceContext
(ProcessDefinition processDefinition, VariableMap variables, DelegateExecution superExecution) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
processDefinition
-
variables
-
superExecution
-
superCaseExecution
-
-
Constructor Details
-
TenantIdProviderProcessInstanceContext
public TenantIdProviderProcessInstanceContext(ProcessDefinition processDefinition, VariableMap variables) -
TenantIdProviderProcessInstanceContext
public TenantIdProviderProcessInstanceContext(ProcessDefinition processDefinition, VariableMap variables, DelegateExecution superExecution) -
TenantIdProviderProcessInstanceContext
public TenantIdProviderProcessInstanceContext(ProcessDefinition processDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution)
-
-
Method Details
-
getProcessDefinition
- Returns:
- the process definition of the process instance which is being started
-
getVariables
- Returns:
- the variables which were passed to the starting process instance
-
getSuperExecution
- Returns:
- the super execution. Null if the starting process instance is a root process instance and not started using a call activity. If the process instance is started using a call activity, this method returns the execution in the super process instance executing the call activity.
-
getSuperCaseExecution
- Returns:
- the super case execution. Null if the starting process instance is not a sub process instance started using a CMMN case task.
-