public class MigratingCompensationEventSubscriptionInstance extends MigratingProcessElementInstance implements RemovingInstance
| Modifier and Type | Field and Description |
|---|---|
protected EventSubscriptionEntity |
eventSubscription |
static MigrationLogger |
MIGRATION_LOGGER |
currentScope, migrationInstruction, parentInstance, sourceScope, targetScope| Constructor and Description |
|---|
MigratingCompensationEventSubscriptionInstance(MigrationInstruction migrationInstruction,
ScopeImpl sourceScope,
ScopeImpl targetScope,
EventSubscriptionEntity eventSubscription) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMigratingDependentInstance(MigratingInstance migratingInstance) |
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 tree
|
boolean |
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.
|
void |
remove()
Remove this instance from the process instance.
|
ExecutionEntity |
resolveRepresentativeExecution() |
void |
setParent(MigratingScopeInstance parentInstance) |
getClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getParent, getSourceScope, getTargetScope, migratesTopublic static final MigrationLogger MIGRATION_LOGGER
protected EventSubscriptionEntity eventSubscription
public MigratingCompensationEventSubscriptionInstance(MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, EventSubscriptionEntity eventSubscription)
public boolean isDetached()
isDetached in interface MigratingInstancepublic void detachState()
MigratingInstancedetachState in interface MigratingInstancepublic void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstanceattachState in interface MigratingInstancepublic void migrateState()
MigratingInstancemigrateState in interface MigratingInstancepublic void migrateDependentEntities()
MigratingInstancemigrateDependentEntities in interface MigratingInstancepublic void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance in class MigratingProcessElementInstancepublic ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution in class MigratingProcessElementInstancepublic void attachState(MigratingScopeInstance targetActivityInstance)
MigratingInstanceattachState in interface MigratingInstancepublic void setParent(MigratingScopeInstance parentInstance)
setParent in class MigratingProcessElementInstancepublic void remove()
RemovingInstanceremove in interface RemovingInstanceCopyright © 2022. All rights reserved.