Class TenantIdProviderCaseInstanceContext
java.lang.Object
org.camunda.bpm.engine.impl.cfg.multitenancy.TenantIdProviderCaseInstanceContext
Provides information about a starting case instance to a
TenantIdProvider
implementation.- Since:
- 7.5
- Author:
- Kristin Polenz
-
Field Summary
Modifier and TypeFieldDescriptionprotected CaseDefinition
protected DelegateCaseExecution
protected DelegateExecution
protected VariableMap
-
Constructor Summary
ConstructorDescriptionTenantIdProviderCaseInstanceContext
(CaseDefinition caseDefinition, VariableMap variables) TenantIdProviderCaseInstanceContext
(CaseDefinition caseDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution) TenantIdProviderCaseInstanceContext
(CaseDefinition caseDefinition, VariableMap variables, DelegateExecution superExecution) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
caseDefinition
-
variables
-
superExecution
-
superCaseExecution
-
-
Constructor Details
-
TenantIdProviderCaseInstanceContext
-
TenantIdProviderCaseInstanceContext
public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables, DelegateExecution superExecution) -
TenantIdProviderCaseInstanceContext
public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution)
-
-
Method Details
-
getCaseDefinition
- Returns:
- the case definition of the case instance which is being started
-
getVariables
- Returns:
- the variables which were passed to the starting case instance
-
getSuperExecution
- Returns:
- the super execution.
null
if the starting case instance is a root process instance and not started using a call activity. If the case 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 case instance is not a sub case instance started using a CMMN case task.
-