Class ProcessLevelStartEventDeployContext

java.lang.Object
org.flowable.engine.impl.bpmn.behavior.ProcessLevelStartEventDeployContext

public class ProcessLevelStartEventDeployContext extends Object
Context passed to ProcessLevelStartEventActivityBehavior.deploy(ProcessLevelStartEventDeployContext) carrying the freshly-deployed process definition together with its parsed model and the start event in scope.
  • Field Details

  • Constructor Details

  • Method Details

    • getProcessDefinition

      public ProcessDefinitionEntity getProcessDefinition()
    • getProcess

      public Process getProcess()
    • getBpmnModel

      public BpmnModel getBpmnModel()
    • getStartEvent

      public StartEvent getStartEvent()
    • getProcessEngineConfiguration

      public ProcessEngineConfigurationImpl getProcessEngineConfiguration()
    • getCommandContext

      public CommandContext getCommandContext()
    • getEventSubscriptionService

      public EventSubscriptionService getEventSubscriptionService()
    • isRestoringPreviousVersion

      public boolean isRestoringPreviousVersion()
      true when this deploy is restoring a previous (earlier-version) process definition's start events because the latest version's deployment was just deleted. Behaviors should skip duplicate- subscription validation in this mode — the just-deleted process definition's subscriptions are still 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.