public class MigratingExternalTaskInstance extends Object implements MigratingInstance
Modifier and Type | Field and Description |
---|---|
protected List<MigratingInstance> |
dependentInstances |
protected ExternalTaskEntity |
externalTask |
protected MigratingActivityInstance |
migratingActivityInstance |
static MigrationLogger |
MIGRATION_LOGGER |
Constructor and Description |
---|
MigratingExternalTaskInstance(ExternalTaskEntity externalTask,
MigratingActivityInstance migratingActivityInstance) |
Modifier and Type | Method and Description |
---|---|
void |
addMigratingDependentInstance(MigratingInstance migratingInstance) |
void |
attachState(MigratingScopeInstance owningInstance)
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
|
String |
getId() |
ScopeImpl |
getTargetScope() |
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.
|
public static final MigrationLogger MIGRATION_LOGGER
protected ExternalTaskEntity externalTask
protected MigratingActivityInstance migratingActivityInstance
protected List<MigratingInstance> dependentInstances
public MigratingExternalTaskInstance(ExternalTaskEntity externalTask, MigratingActivityInstance migratingActivityInstance)
public void migrateDependentEntities()
MigratingInstance
migrateDependentEntities
in interface MigratingInstance
public boolean isDetached()
isDetached
in interface MigratingInstance
public void detachState()
MigratingInstance
detachState
in interface MigratingInstance
public void attachState(MigratingScopeInstance owningInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void attachState(MigratingTransitionInstance targetTransitionInstance)
MigratingInstance
attachState
in interface MigratingInstance
public void migrateState()
MigratingInstance
migrateState
in interface MigratingInstance
public String getId()
public ScopeImpl getTargetScope()
public void addMigratingDependentInstance(MigratingInstance migratingInstance)
Copyright © 2019. All rights reserved.