Class MigratingVariableInstance
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.migration.instance.MigratingVariableInstance
 
- 
- All Implemented Interfaces:
- MigratingInstance
 
 public class MigratingVariableInstance extends java.lang.Object implements MigratingInstance - Author:
- Thorben Lindhauer
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanisConcurrentLocalInParentScopeprotected VariableInstanceEntityvariable
 - 
Constructor SummaryConstructors Constructor Description MigratingVariableInstance(VariableInstanceEntity variable, boolean isConcurrentLocalInParentScope)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachState(MigratingScopeInstance owningActivityInstance)Restore this instance's state as a subordinate to the given activity instance (e.g.voidattachState(MigratingTransitionInstance owningActivityInstance)Restore this instance's state as a subordinate to the given transition instance (e.g.voiddetachState()Detach this instance's state from its owning instance and the execution treejava.lang.StringgetVariableName()booleanisDetached()voidmigrateDependentEntities()Migrate instances that are aggregated by this instance (e.g.protected voidmigrateHistory()voidmigrateState()Migrate state from the source process definition to the target process definition.
 
- 
- 
- 
Field Detail- 
variableprotected VariableInstanceEntity variable 
 - 
isConcurrentLocalInParentScopeprotected boolean isConcurrentLocalInParentScope 
 
- 
 - 
Constructor Detail- 
MigratingVariableInstancepublic MigratingVariableInstance(VariableInstanceEntity variable, boolean isConcurrentLocalInParentScope) 
 
- 
 - 
Method Detail- 
isDetachedpublic boolean isDetached() - Specified by:
- isDetachedin interface- MigratingInstance
 
 - 
detachStatepublic void detachState() Description copied from interface:MigratingInstanceDetach this instance's state from its owning instance and the execution tree- Specified by:
- detachStatein interface- MigratingInstance
 
 - 
attachStatepublic void attachState(MigratingScopeInstance owningActivityInstance) Description copied from interface:MigratingInstanceRestore 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:
- attachStatein interface- MigratingInstance
 
 - 
attachStatepublic void attachState(MigratingTransitionInstance owningActivityInstance) Description copied from interface:MigratingInstanceRestore 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:
- attachStatein interface- MigratingInstance
 
 - 
migrateStatepublic void migrateState() Description copied from interface:MigratingInstanceMigrate state from the source process definition to the target process definition.- Specified by:
- migrateStatein interface- MigratingInstance
 
 - 
migrateHistoryprotected void migrateHistory() 
 - 
migrateDependentEntitiespublic void migrateDependentEntities() Description copied from interface:MigratingInstanceMigrate instances that are aggregated by this instance (e.g. an activity instance aggregates task instances).- Specified by:
- migrateDependentEntitiesin interface- MigratingInstance
 
 - 
getVariableNamepublic java.lang.String getVariableName() 
 
- 
 
-