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

All Known Implementing Classes:
MigratingActivityInstance, MigratingEventSubscriptionInstance, MigratingFailedJobIncident, MigratingTaskInstance, MigratingTimerJobInstance

public interface MigratingInstance

Author:
Thorben Lindhauer

Method Summary
 void attachState(ExecutionEntity newScopeExecution)
          Restore this instance's state to the execution tree.
 void detachState()
          Detach this instance's state from the execution tree
 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

detachState

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


attachState

void attachState(ExecutionEntity newScopeExecution)
Restore this instance's state to the execution tree. Restoration should restore the state that was detached before (i.e. the source process definition state)

Parameters:
newScopeExecution -

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 © 2016 camunda services GmbH. All rights reserved.