Class MigratingJobInstance

java.lang.Object
org.camunda.bpm.engine.impl.migration.instance.MigratingJobInstance
All Implemented Interfaces:
MigratingInstance, RemovingInstance
Direct Known Subclasses:
MigratingAsyncJobInstance, MigratingTimerJobInstance

public abstract class MigratingJobInstance extends Object implements MigratingInstance, RemovingInstance
  • Field Details

  • Constructor Details

  • Method Details

    • getJobEntity

      public JobEntity getJobEntity()
    • addMigratingDependentInstance

      public void addMigratingDependentInstance(MigratingInstance migratingInstance)
    • isDetached

      public boolean isDetached()
      Specified by:
      isDetached in interface MigratingInstance
    • detachState

      public void detachState()
      Description copied from interface: MigratingInstance
      Detach this instance's state from its owning instance and the execution tree
      Specified by:
      detachState in interface MigratingInstance
    • attachState

      public void attachState(MigratingScopeInstance newOwningInstance)
      Description copied from interface: MigratingInstance
      Restore this instance's state as a subordinate to the given activity instance (e.g. in the execution tree). Restoration should restore the state that was detached before.
      Specified by:
      attachState in interface MigratingInstance
    • attachState

      public void attachState(MigratingTransitionInstance targetTransitionInstance)
      Description copied from interface: MigratingInstance
      Restore this instance's state as a subordinate to the given transition instance (e.g. in the execution tree). Restoration should restore the state that was detached before.
      Specified by:
      attachState in interface MigratingInstance
    • attachTo

      protected void attachTo(ExecutionEntity execution)
    • migrateState

      public void migrateState()
      Description copied from interface: MigratingInstance
      Migrate state from the source process definition to the target process definition.
      Specified by:
      migrateState in interface MigratingInstance
    • migrateDependentEntities

      public void migrateDependentEntities()
      Description copied from interface: MigratingInstance
      Migrate instances that are aggregated by this instance (e.g. an activity instance aggregates task instances).
      Specified by:
      migrateDependentEntities in interface MigratingInstance
    • remove

      public void remove()
      Description copied from interface: RemovingInstance
      Remove this instance from the process instance.
      Specified by:
      remove in interface RemovingInstance
    • migrates

      public boolean migrates()
    • getTargetScope

      public ScopeImpl getTargetScope()
    • getTargetJobDefinitionEntity

      public JobDefinitionEntity getTargetJobDefinitionEntity()
    • migrateJobHandlerConfiguration

      protected abstract void migrateJobHandlerConfiguration()