Class MigratingProcessInstance
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.instance.MigratingProcessInstance
-
public class MigratingProcessInstance extends java.lang.Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected static MigrationLogger
LOGGER
protected java.util.List<MigratingActivityInstance>
migratingActivityInstances
protected java.util.List<MigratingCompensationEventSubscriptionInstance>
migratingCompensationSubscriptionInstances
protected java.util.List<MigratingEventScopeInstance>
migratingEventScopeInstances
protected java.util.List<MigratingTransitionInstance>
migratingTransitionInstances
protected java.lang.String
processInstanceId
protected MigratingActivityInstance
rootInstance
protected ProcessDefinitionEntity
sourceDefinition
protected ProcessDefinitionEntity
targetDefinition
-
Constructor Summary
Constructors Constructor Description MigratingProcessInstance(java.lang.String processInstanceId, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
-
Method Summary
-
-
-
Field Detail
-
LOGGER
protected static final MigrationLogger LOGGER
-
processInstanceId
protected java.lang.String processInstanceId
-
migratingActivityInstances
protected java.util.List<MigratingActivityInstance> migratingActivityInstances
-
migratingTransitionInstances
protected java.util.List<MigratingTransitionInstance> migratingTransitionInstances
-
migratingEventScopeInstances
protected java.util.List<MigratingEventScopeInstance> migratingEventScopeInstances
-
migratingCompensationSubscriptionInstances
protected java.util.List<MigratingCompensationEventSubscriptionInstance> migratingCompensationSubscriptionInstances
-
rootInstance
protected MigratingActivityInstance rootInstance
-
sourceDefinition
protected ProcessDefinitionEntity sourceDefinition
-
targetDefinition
protected ProcessDefinitionEntity targetDefinition
-
-
Constructor Detail
-
MigratingProcessInstance
public MigratingProcessInstance(java.lang.String processInstanceId, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
-
-
Method Detail
-
getRootInstance
public MigratingActivityInstance getRootInstance()
-
setRootInstance
public void setRootInstance(MigratingActivityInstance rootInstance)
-
getMigratingActivityInstances
public java.util.Collection<MigratingActivityInstance> getMigratingActivityInstances()
-
getMigratingTransitionInstances
public java.util.Collection<MigratingTransitionInstance> getMigratingTransitionInstances()
-
getMigratingEventScopeInstances
public java.util.Collection<MigratingEventScopeInstance> getMigratingEventScopeInstances()
-
getMigratingCompensationSubscriptionInstances
public java.util.Collection<MigratingCompensationEventSubscriptionInstance> getMigratingCompensationSubscriptionInstances()
-
getMigratingScopeInstances
public java.util.Collection<MigratingScopeInstance> getMigratingScopeInstances()
-
getSourceDefinition
public ProcessDefinitionEntity getSourceDefinition()
-
getTargetDefinition
public ProcessDefinitionEntity getTargetDefinition()
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
-
addActivityInstance
public MigratingActivityInstance addActivityInstance(MigrationInstruction migrationInstruction, ActivityInstance activityInstance, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity scopeExecution)
-
addTransitionInstance
public MigratingTransitionInstance addTransitionInstance(MigrationInstruction migrationInstruction, TransitionInstance transitionInstance, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity asyncExecution)
-
addEventScopeInstance
public MigratingEventScopeInstance addEventScopeInstance(MigrationInstruction migrationInstruction, ExecutionEntity eventScopeExecution, ScopeImpl sourceScope, ScopeImpl targetScope, MigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl eventSubscriptionSourceScope, ScopeImpl eventSubscriptionTargetScope)
-
addCompensationSubscriptionInstance
public MigratingCompensationEventSubscriptionInstance addCompensationSubscriptionInstance(MigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl sourceScope, ScopeImpl targetScope)
-
-