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
Modifier and TypeMethodDescriptionvoid
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
Detach this instance's state from its owning instance and the execution treeboolean
void
Migrate instances that are aggregated by this instance (e.g.void
Migrate state from the source process definition to the target process definition.
-
Method Details
-
isDetached
boolean isDetached() -
detachState
void detachState()Detach this instance's state from its owning instance and the execution tree -
attachState
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
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).
-