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, migratesTo
public static final MigrationLogger MIGRATION_LOGGER
protected EventSubscriptionEntity eventSubscription
public MigratingCompensationEventSubscriptionInstance(MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, EventSubscriptionEntity eventSubscription)
public boolean isDetached()
isDetached
in interface MigratingInstance
public void detachState()
MigratingInstance
detachState
in interface MigratingInstance
public void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void migrateState()
MigratingInstance
migrateState
in interface MigratingInstance
public void migrateDependentEntities()
MigratingInstance
migrateDependentEntities
in interface MigratingInstance
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance
in class MigratingProcessElementInstance
public ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution
in class MigratingProcessElementInstance
public void attachState(MigratingScopeInstance targetActivityInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void setParent(MigratingScopeInstance parentInstance)
setParent
in class MigratingProcessElementInstance
public void remove()
RemovingInstance
remove
in interface RemovingInstance
Copyright © 2019. All rights reserved.