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, migratesTo
public 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()
MigratingInstance
public void attachState(MigratingScopeInstance targetActivityInstance)
MigratingInstance
public void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
public void migrateState()
MigratingInstance
public void migrateDependentEntities()
MigratingInstance
public void setParent(MigratingScopeInstance parentInstance)
setParent
in class MigratingProcessElementInstance
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance
in class MigratingProcessElementInstance
public ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution
in class MigratingProcessElementInstance
public void removeChild(MigratingScopeInstance migratingScopeInstance)
removeChild
in class MigratingScopeInstance
public void addChild(MigratingScopeInstance migratingScopeInstance)
addChild
in class MigratingScopeInstance
public void addChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription)
addChild
in class MigratingScopeInstance
public void removeChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription)
removeChild
in class MigratingScopeInstance
public boolean migrates()
migrates
in class MigratingScopeInstance
public void detachChildren()
detachChildren
in class MigratingScopeInstance
public void remove(boolean skipCustomListeners, boolean skipIoMappings)
MigratingScopeInstance
remove
in class MigratingScopeInstance
public Collection<MigratingProcessElementInstance> getChildren()
MigratingScopeInstance
getChildren
in class MigratingScopeInstance
public Collection<MigratingScopeInstance> getChildScopeInstances()
MigratingScopeInstance
getChildScopeInstances
in class MigratingScopeInstance
public void removeUnmappedDependentInstances()
removeUnmappedDependentInstances
in class MigratingScopeInstance
public MigratingCompensationEventSubscriptionInstance getEventSubscription()
Copyright © 2018. All rights reserved.