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, migratesTopublic 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 MigratingInstancepublic MigratingActivityInstance getParent()
getParent in class MigratingProcessElementInstancepublic void detachState()
MigratingInstancedetachState in interface MigratingInstancepublic void attachState(MigratingScopeInstance scopeInstance)
MigratingInstanceattachState in interface MigratingInstancepublic ExecutionEntity resolveRepresentativeExecution()
resolveRepresentativeExecution in class MigratingProcessElementInstancepublic void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstanceattachState in interface MigratingInstancepublic void setDependentJobInstance(MigratingAsyncJobInstance jobInstance)
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
addMigratingDependentInstance in class MigratingProcessElementInstancepublic List<MigratingInstance> getMigratingDependentInstances()
public void migrateState()
MigratingInstancemigrateState in interface MigratingInstancepublic void migrateDependentEntities()
MigratingInstancemigrateDependentEntities in interface MigratingInstancepublic TransitionInstance getTransitionInstance()
public boolean isAsyncAfter()
public boolean isAsyncBefore()
public MigratingJobInstance getJobInstance()
public void setParent(MigratingScopeInstance parentInstance)
setParent in class MigratingProcessElementInstanceCopyright © 2021. All rights reserved.