Class MigratingTransitionInstance
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstance
- 
- org.camunda.bpm.engine.impl.migration.instance.MigratingTransitionInstance
 
 
- 
- All Implemented Interfaces:
- MigratingInstance
 
 public class MigratingTransitionInstance extends MigratingProcessElementInstance implements MigratingInstance - Author:
- Thorben Lindhauer
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanactiveStateprotected MigratingAsyncJobInstancejobInstanceprotected List<MigratingInstance>migratingDependentInstancesstatic MigrationLoggerMIGRATION_LOGGERprotected ExecutionEntityrepresentativeExecutionprotected TransitionInstancetransitionInstance- 
Fields inherited from class org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstancecurrentScope, migrationInstruction, parentInstance, sourceScope, targetScope
 
- 
 - 
Constructor SummaryConstructors Constructor Description MigratingTransitionInstance(TransitionInstance transitionInstance, MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity asyncExecution)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMigratingDependentInstance(MigratingInstance migratingInstance)voidattachState(MigratingScopeInstance scopeInstance)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.voiddetachState()Detach this instance's state from its owning instance and the execution treeMigratingJobInstancegetJobInstance()List<MigratingInstance>getMigratingDependentInstances()MigratingActivityInstancegetParent()TransitionInstancegetTransitionInstance()booleanisAsyncAfter()Else asyncBeforebooleanisAsyncBefore()booleanisDetached()voidmigrateDependentEntities()Migrate instances that are aggregated by this instance (e.g.voidmigrateState()Migrate state from the source process definition to the target process definition.ExecutionEntityresolveRepresentativeExecution()voidsetDependentJobInstance(MigratingAsyncJobInstance jobInstance)voidsetParent(MigratingScopeInstance parentInstance)- 
Methods inherited from class org.camunda.bpm.engine.impl.migration.instance.MigratingProcessElementInstancegetClosestAncestorActivityInstance, getCurrentScope, getMigrationInstruction, getSourceScope, getTargetScope, migratesTo
 
- 
 
- 
- 
- 
Field Detail- 
MIGRATION_LOGGERpublic static final MigrationLogger MIGRATION_LOGGER 
 - 
representativeExecutionprotected ExecutionEntity representativeExecution 
 - 
transitionInstanceprotected TransitionInstance transitionInstance 
 - 
jobInstanceprotected MigratingAsyncJobInstance jobInstance 
 - 
migratingDependentInstancesprotected List<MigratingInstance> migratingDependentInstances 
 - 
activeStateprotected boolean activeState 
 
- 
 - 
Constructor Detail- 
MigratingTransitionInstancepublic MigratingTransitionInstance(TransitionInstance transitionInstance, MigrationInstruction migrationInstruction, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity asyncExecution) 
 
- 
 - 
Method Detail- 
isDetachedpublic boolean isDetached() - Specified by:
- isDetachedin interface- MigratingInstance
 
 - 
getParentpublic MigratingActivityInstance getParent() - Overrides:
- getParentin class- MigratingProcessElementInstance
 
 - 
detachStatepublic void detachState() Description copied from interface:MigratingInstanceDetach this instance's state from its owning instance and the execution tree- Specified by:
- detachStatein interface- MigratingInstance
 
 - 
attachStatepublic void attachState(MigratingScopeInstance scopeInstance) 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 interface- MigratingInstance
 
 - 
resolveRepresentativeExecutionpublic ExecutionEntity resolveRepresentativeExecution() - Specified by:
- resolveRepresentativeExecutionin class- MigratingProcessElementInstance
 
 - 
attachStatepublic void attachState(MigratingTransitionInstance targetTransitionInstance) 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 interface- MigratingInstance
 
 - 
setDependentJobInstancepublic void setDependentJobInstance(MigratingAsyncJobInstance jobInstance) 
 - 
addMigratingDependentInstancepublic void addMigratingDependentInstance(MigratingInstance migratingInstance) - Specified by:
- addMigratingDependentInstancein class- MigratingProcessElementInstance
 
 - 
getMigratingDependentInstancespublic List<MigratingInstance> getMigratingDependentInstances() 
 - 
migrateStatepublic void migrateState() Description copied from interface:MigratingInstanceMigrate state from the source process definition to the target process definition.- Specified by:
- migrateStatein interface- MigratingInstance
 
 - 
migrateDependentEntitiespublic 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 interface- MigratingInstance
 
 - 
getTransitionInstancepublic TransitionInstance getTransitionInstance() 
 - 
isAsyncAfterpublic boolean isAsyncAfter() Else asyncBefore
 - 
isAsyncBeforepublic boolean isAsyncBefore() 
 - 
getJobInstancepublic MigratingJobInstance getJobInstance() 
 - 
setParentpublic void setParent(MigratingScopeInstance parentInstance) - Specified by:
- setParentin class- MigratingProcessElementInstance
 
 
- 
 
-