Class MigratingCompensationEventSubscriptionInstance
java.lang.Object
org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance
org.camunda.bpm.engine.impl.migration.instance.MigratingCompensationEventSubscriptionInstance
- All Implemented Interfaces:
MigratingInstance,RemovingInstance
public class MigratingCompensationEventSubscriptionInstance
extends MigratingProcessElementInstance
implements RemovingInstance
- Author:
- Thorben Lindhauer
-
Field Summary
FieldsFields inherited from class org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance
currentScope, migrationInstruction, parentInstance, sourceScope, targetScope -
Constructor Summary
ConstructorsConstructorDescriptionMigratingCompensationEventSubscriptionInstance(MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, EventSubscriptionEntity eventSubscription) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMigratingDependentInstance(MigratingInstance migratingInstance) voidattachState(MigratingScopeInstance targetActivityInstance) Restore this instance's state as a subordinate to the given activity instance (e.g.voidattachState(MigratingTransitionInstance targetTransitionInstance) Restore this instance's state as a subordinate to the given transition instance (e.g.voidDetach this instance's state from its owning instance and the execution treebooleanvoidMigrate instances that are aggregated by this instance (e.g.voidMigrate state from the source process definition to the target process definition.voidremove()Remove this instance from the process instance.voidsetParent(MigratingScopeInstance parentInstance) Methods inherited from class org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance
getClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getParent, getSourceScope, getTargetScope, migratesTo
-
Field Details
-
MIGRATION_LOGGER
-
eventSubscription
-
-
Constructor Details
-
MigratingCompensationEventSubscriptionInstance
public MigratingCompensationEventSubscriptionInstance(MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, EventSubscriptionEntity eventSubscription)
-
-
Method Details
-
isDetached
public boolean isDetached()- Specified by:
isDetachedin interfaceMigratingInstance
-
detachState
public void detachState()Description copied from interface:MigratingInstanceDetach this instance's state from its owning instance and the execution tree- Specified by:
detachStatein interfaceMigratingInstance
-
attachState
Description copied from interface:MigratingInstanceRestore this instance's state as a subordinate to the given transition instance (e.g. in the execution tree). Restoration should restore the state that was detached before.- Specified by:
attachStatein interfaceMigratingInstance
-
migrateState
public void migrateState()Description copied from interface:MigratingInstanceMigrate state from the source process definition to the target process definition.- Specified by:
migrateStatein interfaceMigratingInstance
-
migrateDependentEntities
public void migrateDependentEntities()Description copied from interface:MigratingInstanceMigrate instances that are aggregated by this instance (e.g. an activity instance aggregates task instances).- Specified by:
migrateDependentEntitiesin interfaceMigratingInstance
-
addMigratingDependentInstance
- Specified by:
addMigratingDependentInstancein classMigratingProcessElementInstance
-
resolveRepresentativeExecution
- Specified by:
resolveRepresentativeExecutionin classMigratingProcessElementInstance
-
attachState
Description copied from interface:MigratingInstanceRestore this instance's state as a subordinate to the given activity instance (e.g. in the execution tree). Restoration should restore the state that was detached before.- Specified by:
attachStatein interfaceMigratingInstance
-
setParent
- Specified by:
setParentin classMigratingProcessElementInstance
-
remove
public void remove()Description copied from interface:RemovingInstanceRemove this instance from the process instance.- Specified by:
removein interfaceRemovingInstance
-