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