public class MigratingTransitionInstance extends MigratingProcessElementInstance implements MigratingInstance
Modifier and Type | Field and Description |
---|---|
protected boolean |
activeState |
protected MigratingAsyncJobInstance |
jobInstance |
protected List<MigratingInstance> |
migratingDependentInstances |
static MigrationLogger |
MIGRATION_LOGGER |
protected ExecutionEntity |
representativeExecution |
protected TransitionInstance |
transitionInstance |
currentScope, migrationInstruction, parentInstance, sourceScope, targetScope
Constructor and Description |
---|
MigratingTransitionInstance(TransitionInstance transitionInstance,
MigrationInstruction migrationInstruction,
ScopeImpl sourceScope,
ScopeImpl targetScope,
ExecutionEntity asyncExecution) |
Modifier and Type | Method and Description |
---|---|
void |
addMigratingDependentInstance(MigratingInstance migratingInstance) |
void |
attachState(MigratingScopeInstance scopeInstance)
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
|
MigratingJobInstance |
getJobInstance() |
List<MigratingInstance> |
getMigratingDependentInstances() |
MigratingActivityInstance |
getParent() |
TransitionInstance |
getTransitionInstance() |
boolean |
isAsyncAfter()
Else asyncBefore
|
boolean |
isAsyncBefore() |
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.
|
ExecutionEntity |
resolveRepresentativeExecution() |
void |
setDependentJobInstance(MigratingAsyncJobInstance jobInstance) |
void |
setParent(MigratingScopeInstance parentInstance) |
getClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getSourceScope, getTargetScope, migratesTo
public static final MigrationLogger MIGRATION_LOGGER
protected ExecutionEntity representativeExecution
protected TransitionInstance transitionInstance
protected MigratingAsyncJobInstance jobInstance
protected List<MigratingInstance> migratingDependentInstances
protected boolean activeState
public MigratingTransitionInstance(TransitionInstance transitionInstance, MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity asyncExecution)
public boolean isDetached()
isDetached
in interface MigratingInstance
public MigratingActivityInstance getParent()
getParent
in class MigratingProcessElementInstance
public void detachState()
MigratingInstance
detachState
in interface MigratingInstance
public void attachState(MigratingScopeInstance scopeInstance)
MigratingInstance
attachState
in interface MigratingInstance
public ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution
in class MigratingProcessElementInstance
public void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void setDependentJobInstance(MigratingAsyncJobInstance jobInstance)
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance
in class MigratingProcessElementInstance
public List<MigratingInstance> getMigratingDependentInstances()
public void migrateState()
MigratingInstance
migrateState
in interface MigratingInstance
public void migrateDependentEntities()
MigratingInstance
migrateDependentEntities
in interface MigratingInstance
public TransitionInstance getTransitionInstance()
public boolean isAsyncAfter()
public boolean isAsyncBefore()
public MigratingJobInstance getJobInstance()
public void setParent(MigratingScopeInstance parentInstance)
setParent
in class MigratingProcessElementInstance
Copyright © 2021. All rights reserved.