Class CaseDefinitionStartDeployContext

java.lang.Object
org.flowable.cmmn.engine.impl.deployer.CaseDefinitionStartDeployContext

public class CaseDefinitionStartDeployContext extends Object
Context passed to CaseDefinitionStartLifecycleHandler.deploy(CaseDefinitionStartDeployContext) carrying the freshly-deployed case definition together with its parsed Case model.
  • Field Details

    • caseDefinition

      protected final CaseDefinitionEntity caseDefinition
    • caseModel

      protected final Case caseModel
    • cmmnEngineConfiguration

      protected final CmmnEngineConfiguration cmmnEngineConfiguration
    • commandContext

      protected final CommandContext commandContext
    • restoringPreviousVersion

      protected final boolean restoringPreviousVersion
  • Constructor Details

  • Method Details

    • getCaseDefinition

      public CaseDefinitionEntity getCaseDefinition()
    • getCaseModel

      public Case getCaseModel()
    • getCmmnEngineConfiguration

      public CmmnEngineConfiguration getCmmnEngineConfiguration()
    • getCommandContext

      public CommandContext getCommandContext()
    • getEventSubscriptionService

      public EventSubscriptionService getEventSubscriptionService()
    • isRestoringPreviousVersion

      public boolean isRestoringPreviousVersion()
      true when this deploy is restoring a previous (earlier-version) case definition's start triggers because the latest version's deployment was just deleted. Behaviors should skip duplicate- subscription validation in this mode — the just-deleted case definition's subscriptions may still be in the in-session entity cache (the bulk delete hasn't been flushed yet) so a re-insert would otherwise trip a false-positive conflict. The fresh-deployment path leaves this false.