org.camunda.bpm.engine.impl.migration.instance
Class MigratingTaskInstance

java.lang.Object
  extended by org.camunda.bpm.engine.impl.migration.instance.MigratingTaskInstance
All Implemented Interfaces:
MigratingInstance

public class MigratingTaskInstance
extends Object
implements MigratingInstance

Author:
Thorben Lindhauer

Field Summary
protected  MigratingActivityInstance migratingActivityInstance
           
protected  TaskEntity userTask
           
 
Constructor Summary
MigratingTaskInstance(TaskEntity userTask, MigratingActivityInstance migratingActivityInstance)
           
 
Method Summary
 void attachState(ExecutionEntity execution)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userTask

protected TaskEntity userTask

migratingActivityInstance

protected MigratingActivityInstance migratingActivityInstance
Constructor Detail

MigratingTaskInstance

public MigratingTaskInstance(TaskEntity userTask,
                             MigratingActivityInstance migratingActivityInstance)
Method Detail

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

detachState

public void detachState()
Description copied from interface: MigratingInstance
Detach this instance's state from the execution tree

Specified by:
detachState in interface MigratingInstance

attachState

public void attachState(ExecutionEntity execution)
Description copied from interface: MigratingInstance
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)

Specified by:
attachState in interface MigratingInstance

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


Copyright © 2016 camunda services GmbH. All rights reserved.