public class MigratingEventScopeInstance extends MigratingScopeInstance
| Modifier and Type | Field and Description |
|---|---|
protected Set<MigratingCompensationEventSubscriptionInstance> |
childCompensationSubscriptionInstances |
protected Set<MigratingEventScopeInstance> |
childInstances |
protected ExecutionEntity |
eventScopeExecution |
protected List<MigratingInstance> |
migratingDependentInstances |
protected MigratingCompensationEventSubscriptionInstance |
migratingEventSubscription |
static MigrationLogger |
MIGRATION_LOGGER |
currentScope, migrationInstruction, parentInstance, sourceScope, targetScope| Constructor and Description |
|---|
MigratingEventScopeInstance(EventSubscriptionEntity eventSubscription,
ExecutionEntity eventScopeExecution,
ScopeImpl targetScope)
Creates an emerged scope
|
MigratingEventScopeInstance(MigrationInstruction migrationInstruction,
ExecutionEntity eventScopeExecution,
ScopeImpl sourceScope,
ScopeImpl targetScope,
MigrationInstruction eventSubscriptionInstruction,
EventSubscriptionEntity eventSubscription,
ScopeImpl eventSubscriptionSourceScope,
ScopeImpl eventSubscriptionTargetScope) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription) |
void |
addChild(MigratingScopeInstance migratingScopeInstance) |
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 |
detachChildren() |
void |
detachState()
Detach this instance's state from its owning instance and the execution tree
|
Collection<MigratingProcessElementInstance> |
getChildren()
gets all children
|
Collection<MigratingScopeInstance> |
getChildScopeInstances()
gets those children that are itself scope instances
|
MigratingCompensationEventSubscriptionInstance |
getEventSubscription() |
boolean |
isDetached() |
void |
migrateDependentEntities()
Migrate instances that are aggregated by this instance
(e.g.
|
boolean |
migrates() |
void |
migrateState()
Migrate state from the source process definition
to the target process definition.
|
void |
remove(boolean skipCustomListeners,
boolean skipIoMappings)
removes this scope; parameters are hints and may be ignored by the implementation
|
void |
removeChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription) |
void |
removeChild(MigratingScopeInstance migratingScopeInstance) |
void |
removeUnmappedDependentInstances() |
ExecutionEntity |
resolveRepresentativeExecution() |
void |
setParent(MigratingScopeInstance parentInstance) |
getClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getParent, getSourceScope, getTargetScope, migratesTopublic static final MigrationLogger MIGRATION_LOGGER
protected MigratingCompensationEventSubscriptionInstance migratingEventSubscription
protected ExecutionEntity eventScopeExecution
protected Set<MigratingEventScopeInstance> childInstances
protected Set<MigratingCompensationEventSubscriptionInstance> childCompensationSubscriptionInstances
protected List<MigratingInstance> migratingDependentInstances
public MigratingEventScopeInstance(MigrationInstruction migrationInstruction, ExecutionEntity eventScopeExecution, ScopeImpl sourceScope, ScopeImpl targetScope, MigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl eventSubscriptionSourceScope, ScopeImpl eventSubscriptionTargetScope)
public MigratingEventScopeInstance(EventSubscriptionEntity eventSubscription, ExecutionEntity eventScopeExecution, ScopeImpl targetScope)
public boolean isDetached()
public void detachState()
MigratingInstancepublic void attachState(MigratingScopeInstance targetActivityInstance)
MigratingInstancepublic void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstancepublic void migrateState()
MigratingInstancepublic void migrateDependentEntities()
MigratingInstancepublic void setParent(MigratingScopeInstance parentInstance)
setParent in class MigratingProcessElementInstancepublic void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance in class MigratingProcessElementInstancepublic ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution in class MigratingProcessElementInstancepublic void removeChild(MigratingScopeInstance migratingScopeInstance)
removeChild in class MigratingScopeInstancepublic void addChild(MigratingScopeInstance migratingScopeInstance)
addChild in class MigratingScopeInstancepublic void addChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription)
addChild in class MigratingScopeInstancepublic void removeChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription)
removeChild in class MigratingScopeInstancepublic boolean migrates()
migrates in class MigratingScopeInstancepublic void detachChildren()
detachChildren in class MigratingScopeInstancepublic void remove(boolean skipCustomListeners,
boolean skipIoMappings)
MigratingScopeInstanceremove in class MigratingScopeInstancepublic Collection<MigratingProcessElementInstance> getChildren()
MigratingScopeInstancegetChildren in class MigratingScopeInstancepublic Collection<MigratingScopeInstance> getChildScopeInstances()
MigratingScopeInstancegetChildScopeInstances in class MigratingScopeInstancepublic void removeUnmappedDependentInstances()
removeUnmappedDependentInstances in class MigratingScopeInstancepublic MigratingCompensationEventSubscriptionInstance getEventSubscription()
Copyright © 2022. All rights reserved.