public interface TenantIdProvider
The SPI is invoked if the process definition, case definition or decision definition does not have a tenant id or execution does not have a tenant id.
 An implementation of this SPI can be set on the ProcessEngineConfigurationImpl.
| Modifier and Type | Method and Description | 
|---|---|
| String | provideTenantIdForCaseInstance(TenantIdProviderCaseInstanceContext ctx)Invoked when a case instance is started and the Case Definition does not have a tenant id. | 
| String | provideTenantIdForHistoricDecisionInstance(TenantIdProviderHistoricDecisionInstanceContext ctx)Invoked when a historic decision instance is created and the Decision Definition or the Execution does not have a tenant id. | 
| String | provideTenantIdForProcessInstance(TenantIdProviderProcessInstanceContext ctx)Invoked when a process instance is started and the Process Definition does not have a tenant id. | 
String provideTenantIdForProcessInstance(TenantIdProviderProcessInstanceContext ctx)
Implementors can either return a tenant id or null. If null is returned the process instance is not assigned a tenant id.
ctx - holds information about the process instance which is about to be started.String provideTenantIdForCaseInstance(TenantIdProviderCaseInstanceContext ctx)
Implementors can either return a tenant id or null. If null is returned the case instance is not assigned a tenant id.
ctx - holds information about the case instance which is about to be started.String provideTenantIdForHistoricDecisionInstance(TenantIdProviderHistoricDecisionInstanceContext ctx)
Implementors can either return a tenant id or null. If null is returned the historic decision instance is not assigned a tenant id.
ctx - holds information about the decision definition and the execution.Copyright © 2018. All rights reserved.