org.camunda.bpm.engine.impl.migration.instance
Interface MigratingInstance

All Known Implementing Classes:
MigratingActivityInstance, MigratingAsyncJobInstance, MigratingCalledCaseInstance, MigratingCalledProcessInstance, MigratingCompensationEventSubscriptionInstance, MigratingEventScopeInstance, MigratingEventSubscriptionInstance, MigratingExternalTaskInstance, MigratingIncident, MigratingJobInstance, MigratingProcessElementInstance, MigratingScopeInstance, MigratingTimerJobInstance, MigratingTransitionInstance, MigratingUserTaskInstance, MigratingVariableInstance

public interface MigratingInstance

Author:
Thorben Lindhauer

Method Summary
 void attachState(MigratingScopeInstance targetActivityInstance)
          Restore this instance's state as a subordinate to the given activity instance (e.g.
 void attachState(MigratingTransitionInstance targetTransitionInstance)
          Restore this instance's state as a subordinate to the given transition instance (e.g.
 void detachState()
          Detach this instance's state from its owning instance and the execution tree
 boolean isDetached()
           
 void migrateDependentEntities()
          Migrate instances that are aggregated by this instance (e.g.
 void migrateState()
          Migrate state from the source process definition to the target process definition.
 

Method Detail

isDetached

boolean isDetached()

detachState

void detachState()
Detach this instance's state from its owning instance and the execution tree


attachState

void attachState(MigratingScopeInstance targetActivityInstance)
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.


attachState

void attachState(MigratingTransitionInstance targetTransitionInstance)
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.


migrateState

void migrateState()
Migrate state from the source process definition to the target process definition.


migrateDependentEntities

void migrateDependentEntities()
Migrate instances that are aggregated by this instance (e.g. an activity instance aggregates task instances).



Copyright © 2017 camunda services GmbH. All rights reserved.