org.camunda.bpm.engine.impl.cfg.multitenancy
Class TenantIdProviderCaseInstanceContext

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cfg.multitenancy.TenantIdProviderCaseInstanceContext

public class TenantIdProviderCaseInstanceContext
extends Object

Provides information about a starting case instance to a TenantIdProvider implementation.

Since:
7.5
Author:
Kristin Polenz

Field Summary
protected  CaseDefinition caseDefinition
           
protected  DelegateCaseExecution superCaseExecution
           
protected  DelegateExecution superExecution
           
protected  org.camunda.bpm.engine.variable.VariableMap variables
           
 
Constructor Summary
TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, org.camunda.bpm.engine.variable.VariableMap variables)
           
TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, org.camunda.bpm.engine.variable.VariableMap variables, DelegateCaseExecution superCaseExecution)
           
TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition, org.camunda.bpm.engine.variable.VariableMap variables, DelegateExecution superExecution)
           
 
Method Summary
 CaseDefinition getCaseDefinition()
           
 DelegateCaseExecution getSuperCaseExecution()
           
 DelegateExecution getSuperExecution()
           
 org.camunda.bpm.engine.variable.VariableMap getVariables()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caseDefinition

protected CaseDefinition caseDefinition

variables

protected org.camunda.bpm.engine.variable.VariableMap variables

superExecution

protected DelegateExecution superExecution

superCaseExecution

protected DelegateCaseExecution superCaseExecution
Constructor Detail

TenantIdProviderCaseInstanceContext

public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition,
                                           org.camunda.bpm.engine.variable.VariableMap variables)

TenantIdProviderCaseInstanceContext

public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition,
                                           org.camunda.bpm.engine.variable.VariableMap variables,
                                           DelegateExecution superExecution)

TenantIdProviderCaseInstanceContext

public TenantIdProviderCaseInstanceContext(CaseDefinition caseDefinition,
                                           org.camunda.bpm.engine.variable.VariableMap variables,
                                           DelegateCaseExecution superCaseExecution)
Method Detail

getCaseDefinition

public CaseDefinition getCaseDefinition()
Returns:
the case definition of the case instance which is being started

getVariables

public org.camunda.bpm.engine.variable.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.


Copyright © 2016 camunda services GmbH. All rights reserved.