Class TenantIdProviderCaseInstanceContext


  • public class TenantIdProviderCaseInstanceContext
    extends Object
    Provides information about a starting case instance to a TenantIdProvider implementation.
    Since:
    7.5
    Author:
    Kristin Polenz
    • 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.