Class TenantIdProviderCaseInstanceContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.multitenancy.TenantIdProviderCaseInstanceContext
-
public class TenantIdProviderCaseInstanceContext extends Object
Provides information about a starting case instance to aTenantIdProvider
implementation.- Since:
- 7.5
- Author:
- Kristin Polenz
-
-
Field Summary
Fields Modifier and Type Field Description protected CaseDefinition
caseDefinition
protected DelegateCaseExecution
superCaseExecution
protected DelegateExecution
superExecution
protected VariableMap
variables
-
Constructor Summary
Constructors Constructor Description TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables)
TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution)
TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables, DelegateExecution superExecution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseDefinition
getCaseDefinition()
DelegateCaseExecution
getSuperCaseExecution()
DelegateExecution
getSuperExecution()
VariableMap
getVariables()
-
-
-
Field Detail
-
caseDefinition
protected CaseDefinition caseDefinition
-
variables
protected VariableMap variables
-
superExecution
protected DelegateExecution superExecution
-
superCaseExecution
protected DelegateCaseExecution superCaseExecution
-
-
Constructor Detail
-
TenantIdProviderCaseInstanceContext
public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables)
-
TenantIdProviderCaseInstanceContext
public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables, DelegateExecution superExecution)
-
TenantIdProviderCaseInstanceContext
public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution)
-
-
Method Detail
-
getCaseDefinition
public CaseDefinition getCaseDefinition()
- Returns:
- the case definition of the case instance which is being started
-
getVariables
public VariableMap getVariables()
- Returns:
- the variables which were passed to the starting case instance
-
getSuperExecution
public DelegateExecution 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
public DelegateCaseExecution getSuperCaseExecution()
- Returns:
- the super case execution.
null
if the starting case instance is not a sub case instance started using a CMMN case task.
-
-