|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance
org.camunda.bpm.engine.impl.migration.instance.MigratingScopeInstance
org.camunda.bpm.engine.impl.migration.instance.MigratingEventScopeInstance
public class MigratingEventScopeInstance
Field Summary | |
---|---|
protected Set<MigratingCompensationEventSubscriptionInstance> |
childCompensationSubscriptionInstances
|
protected Set<MigratingEventScopeInstance> |
childInstances
|
protected ExecutionEntity |
eventScopeExecution
|
protected List<MigratingInstance> |
migratingDependentInstances
|
protected MigratingCompensationEventSubscriptionInstance |
migratingEventSubscription
|
static MigrationLogger |
MIGRATION_LOGGER
|
Fields inherited from class org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance |
---|
currentScope, migrationInstruction, parentInstance, sourceScope, targetScope |
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance |
---|
getClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getParent, getSourceScope, getTargetScope, migratesTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final MigrationLogger MIGRATION_LOGGER
protected MigratingCompensationEventSubscriptionInstance migratingEventSubscription
protected ExecutionEntity eventScopeExecution
protected Set<MigratingEventScopeInstance> childInstances
protected Set<MigratingCompensationEventSubscriptionInstance> childCompensationSubscriptionInstances
protected List<MigratingInstance> migratingDependentInstances
Constructor Detail |
---|
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)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |