org.camunda.bpm.engine.impl.migration.instance
Class MigratingActivityInstance
java.lang.Object
org.camunda.bpm.engine.impl.migration.instance.MigratingActivityInstance
- All Implemented Interfaces:
- MigratingInstance, RemovingInstance
public class MigratingActivityInstance
- extends Object
- implements MigratingInstance, RemovingInstance
- Author:
- Thorben Lindhauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
migrationInstruction
protected MigrationInstruction migrationInstruction
activityInstance
protected ActivityInstance activityInstance
representativeExecution
protected ExecutionEntity representativeExecution
removingDependentInstances
protected List<RemovingInstance> removingDependentInstances
migratingDependentInstances
protected List<MigratingInstance> migratingDependentInstances
emergingDependentInstances
protected List<EmergingInstance> emergingDependentInstances
sourceScope
protected ScopeImpl sourceScope
targetScope
protected ScopeImpl targetScope
childInstances
protected Set<MigratingActivityInstance> childInstances
parentInstance
protected MigratingActivityInstance parentInstance
instanceBehavior
protected MigratingActivityInstance.MigratingActivityInstanceBehavior instanceBehavior
MigratingActivityInstance
public MigratingActivityInstance(ActivityInstance activityInstance,
MigrationInstruction migrationInstruction,
ScopeImpl sourceScope,
ScopeImpl targetScope,
ExecutionEntity scopeExecution)
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 newScopeExecution)
- 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
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
resolveRepresentativeExecution
public ExecutionEntity resolveRepresentativeExecution()
addMigratingDependentInstance
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
addRemovingDependentInstance
public void addRemovingDependentInstance(RemovingInstance removingInstance)
addEmergingDependentInstance
public void addEmergingDependentInstance(EmergingInstance emergingInstance)
getActivityInstance
public ActivityInstance getActivityInstance()
getSourceScope
public ScopeImpl getSourceScope()
getTargetScope
public ScopeImpl getTargetScope()
getChildren
public Set<MigratingActivityInstance> getChildren()
getParent
public MigratingActivityInstance getParent()
setParent
public void setParent(MigratingActivityInstance parentInstance)
getMigrationInstruction
public MigrationInstruction getMigrationInstruction()
migrates
public boolean migrates()
removeUnmappedDependentInstances
public void removeUnmappedDependentInstances()
remove
public void remove()
- Description copied from interface:
RemovingInstance
- Remove this instance from the process instance.
- Specified by:
remove in interface RemovingInstance
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.