public class MigratingActivityInstance extends MigratingScopeInstance implements MigratingInstance
Modifier and Type | Class and Description |
---|---|
protected static interface |
MigratingActivityInstance.MigratingActivityInstanceBehavior |
protected class |
MigratingActivityInstance.MigratingNonScopeActivityInstanceBehavior |
protected class |
MigratingActivityInstance.MigratingScopeActivityInstanceBehavior |
Modifier and Type | Field and Description |
---|---|
protected boolean |
activeState |
protected ActivityInstance |
activityInstance |
protected Set<MigratingActivityInstance> |
childActivityInstances |
protected Set<MigratingEventScopeInstance> |
childCompensationInstances |
protected Set<MigratingCompensationEventSubscriptionInstance> |
childCompensationSubscriptionInstances |
protected Set<MigratingTransitionInstance> |
childTransitionInstances |
protected List<EmergingInstance> |
emergingDependentInstances |
protected MigratingActivityInstance.MigratingActivityInstanceBehavior |
instanceBehavior |
protected List<MigratingInstance> |
migratingDependentInstances |
static MigrationLogger |
MIGRATION_LOGGER |
protected List<RemovingInstance> |
removingDependentInstances |
protected ExecutionEntity |
representativeExecution |
currentScope, migrationInstruction, parentInstance, sourceScope, targetScope
Constructor and Description |
---|
MigratingActivityInstance(ActivityInstance activityInstance,
MigrationInstruction migrationInstruction,
ScopeImpl sourceScope,
ScopeImpl targetScope,
ExecutionEntity scopeExecution)
Creates a migrating activity instances
|
MigratingActivityInstance(ScopeImpl targetScope,
ExecutionEntity scopeExecution)
Creates an emerged activity instance
|
getClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getSourceScope, getTargetScope, migratesTo
public static final MigrationLogger MIGRATION_LOGGER
protected ActivityInstance activityInstance
protected ExecutionEntity representativeExecution
protected boolean activeState
protected List<RemovingInstance> removingDependentInstances
protected List<MigratingInstance> migratingDependentInstances
protected List<EmergingInstance> emergingDependentInstances
protected Set<MigratingActivityInstance> childActivityInstances
protected Set<MigratingTransitionInstance> childTransitionInstances
protected Set<MigratingEventScopeInstance> childCompensationInstances
protected Set<MigratingCompensationEventSubscriptionInstance> childCompensationSubscriptionInstances
protected MigratingActivityInstance.MigratingActivityInstanceBehavior instanceBehavior
public MigratingActivityInstance(ActivityInstance activityInstance, MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity scopeExecution)
public MigratingActivityInstance(ScopeImpl targetScope, ExecutionEntity scopeExecution)
protected MigratingActivityInstance.MigratingActivityInstanceBehavior determineBehavior(ScopeImpl scope)
public void detachChildren()
detachChildren
in class MigratingScopeInstance
public void detachDependentInstances()
public boolean isDetached()
isDetached
in interface MigratingInstance
public void detachState()
MigratingInstance
detachState
in interface MigratingInstance
public void attachState(MigratingScopeInstance activityInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void migrateDependentEntities()
MigratingInstance
migrateDependentEntities
in interface MigratingInstance
public ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution
in class MigratingProcessElementInstance
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance
in class MigratingProcessElementInstance
public List<MigratingInstance> getMigratingDependentInstances()
public void addRemovingDependentInstance(RemovingInstance removingInstance)
public void addEmergingDependentInstance(EmergingInstance emergingInstance)
public void addChild(MigratingTransitionInstance transitionInstance)
public void removeChild(MigratingTransitionInstance transitionInstance)
public void addChild(MigratingActivityInstance activityInstance)
public void removeChild(MigratingActivityInstance activityInstance)
public void addChild(MigratingScopeInstance migratingActivityInstance)
addChild
in class MigratingScopeInstance
public void removeChild(MigratingScopeInstance child)
removeChild
in class MigratingScopeInstance
public void addChild(MigratingEventScopeInstance compensationInstance)
public void removeChild(MigratingEventScopeInstance compensationInstance)
public void addChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription)
addChild
in class MigratingScopeInstance
public void removeChild(MigratingCompensationEventSubscriptionInstance migratingEventSubscription)
removeChild
in class MigratingScopeInstance
public ActivityInstance getActivityInstance()
public String getActivityInstanceId()
public MigratingActivityInstance getParent()
getParent
in class MigratingProcessElementInstance
public Set<MigratingProcessElementInstance> getChildren()
getChildren
in class MigratingScopeInstance
public Collection<MigratingScopeInstance> getChildScopeInstances()
MigratingScopeInstance
getChildScopeInstances
in class MigratingScopeInstance
public Set<MigratingActivityInstance> getChildActivityInstances()
public Set<MigratingTransitionInstance> getChildTransitionInstances()
public Set<MigratingEventScopeInstance> getChildCompensationInstances()
public boolean migrates()
migrates
in class MigratingScopeInstance
public void removeUnmappedDependentInstances()
removeUnmappedDependentInstances
in class MigratingScopeInstance
public void remove(boolean skipCustomListeners, boolean skipIoMappings)
MigratingScopeInstance
remove
in class MigratingScopeInstance
public void migrateState()
MigratingInstance
migrateState
in interface MigratingInstance
protected void migrateHistory(DelegateExecution execution)
protected void migrateProcessInstanceHistory(DelegateExecution execution)
protected void migrateActivityInstanceHistory(DelegateExecution execution)
public ExecutionEntity createAttachableExecution()
public void destroyAttachableExecution(ExecutionEntity execution)
public void setParent(MigratingScopeInstance parentInstance)
setParent
in class MigratingProcessElementInstance
Copyright © 2022. All rights reserved.