Class MigratingVariableInstance
java.lang.Object
org.camunda.bpm.engine.impl.migration.instance.MigratingVariableInstance
- All Implemented Interfaces:
MigratingInstance
- Author:
- Thorben Lindhauer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMigratingVariableInstance
(VariableInstanceEntity variable, boolean isConcurrentLocalInParentScope) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachState
(MigratingScopeInstance owningActivityInstance) Restore this instance's state as a subordinate to the given activity instance (e.g.void
attachState
(MigratingTransitionInstance owningActivityInstance) Restore this instance's state as a subordinate to the given transition instance (e.g.void
Detach this instance's state from its owning instance and the execution treeboolean
void
Migrate instances that are aggregated by this instance (e.g.protected void
void
Migrate state from the source process definition to the target process definition.
-
Field Details
-
variable
-
isConcurrentLocalInParentScope
protected boolean isConcurrentLocalInParentScope
-
-
Constructor Details
-
MigratingVariableInstance
public MigratingVariableInstance(VariableInstanceEntity variable, boolean isConcurrentLocalInParentScope)
-
-
Method Details
-
isDetached
public boolean isDetached()- Specified by:
isDetached
in interfaceMigratingInstance
-
detachState
public void detachState()Description copied from interface:MigratingInstance
Detach this instance's state from its owning instance and the execution tree- Specified by:
detachState
in interfaceMigratingInstance
-
attachState
Description copied from interface:MigratingInstance
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.- Specified by:
attachState
in interfaceMigratingInstance
-
attachState
Description copied from interface:MigratingInstance
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.- Specified by:
attachState
in interfaceMigratingInstance
-
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 interfaceMigratingInstance
-
migrateHistory
protected void migrateHistory() -
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 interfaceMigratingInstance
-
getVariableName
-