Interface MigratingInstance
-
- All Known Implementing Classes:
MigratingActivityInstance
,MigratingAsyncJobInstance
,MigratingCalledCaseInstance
,MigratingCalledProcessInstance
,MigratingCompensationEventSubscriptionInstance
,MigratingEventScopeInstance
,MigratingEventSubscriptionInstance
,MigratingExternalTaskInstance
,MigratingIncident
,MigratingJobInstance
,MigratingProcessElementInstance
,MigratingScopeInstance
,MigratingTimerJobInstance
,MigratingTransitionInstance
,MigratingUserTaskInstance
,MigratingVariableInstance
public interface MigratingInstance
- Author:
- Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
attachState(MigratingScopeInstance targetActivityInstance)
Restore this instance's state as a subordinate to the given activity instance (e.g.void
attachState(MigratingTransitionInstance targetTransitionInstance)
Restore this instance's state as a subordinate to the given transition instance (e.g.void
detachState()
Detach this instance's state from its owning instance and the execution treeboolean
isDetached()
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
-
isDetached
boolean isDetached()
-
detachState
void detachState()
Detach this instance's state from its owning instance and the execution tree
-
attachState
void attachState(MigratingScopeInstance targetActivityInstance)
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.
-
attachState
void attachState(MigratingTransitionInstance targetTransitionInstance)
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.
-
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).
-
-