Class MigratingProcessInstance
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.instance.MigratingProcessInstance
-
public class MigratingProcessInstance extends Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected static MigrationLogger
LOGGER
protected List<MigratingActivityInstance>
migratingActivityInstances
protected List<MigratingCompensationEventSubscriptionInstance>
migratingCompensationSubscriptionInstances
protected List<MigratingEventScopeInstance>
migratingEventScopeInstances
protected List<MigratingTransitionInstance>
migratingTransitionInstances
protected String
processInstanceId
protected MigratingActivityInstance
rootInstance
protected ProcessDefinitionEntity
sourceDefinition
protected ProcessDefinitionEntity
targetDefinition
-
Constructor Summary
Constructors Constructor Description MigratingProcessInstance(String processInstanceId, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
-
Method Summary
-
-
-
Field Detail
-
LOGGER
protected static final MigrationLogger LOGGER
-
processInstanceId
protected String processInstanceId
-
migratingActivityInstances
protected List<MigratingActivityInstance> migratingActivityInstances
-
migratingTransitionInstances
protected List<MigratingTransitionInstance> migratingTransitionInstances
-
migratingEventScopeInstances
protected List<MigratingEventScopeInstance> migratingEventScopeInstances
-
migratingCompensationSubscriptionInstances
protected List<MigratingCompensationEventSubscriptionInstance> migratingCompensationSubscriptionInstances
-
rootInstance
protected MigratingActivityInstance rootInstance
-
sourceDefinition
protected ProcessDefinitionEntity sourceDefinition
-
targetDefinition
protected ProcessDefinitionEntity targetDefinition
-
-
Constructor Detail
-
MigratingProcessInstance
public MigratingProcessInstance(String processInstanceId, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
-
-
Method Detail
-
getRootInstance
public MigratingActivityInstance getRootInstance()
-
setRootInstance
public void setRootInstance(MigratingActivityInstance rootInstance)
-
getMigratingActivityInstances
public Collection<MigratingActivityInstance> getMigratingActivityInstances()
-
getMigratingTransitionInstances
public Collection<MigratingTransitionInstance> getMigratingTransitionInstances()
-
getMigratingEventScopeInstances
public Collection<MigratingEventScopeInstance> getMigratingEventScopeInstances()
-
getMigratingCompensationSubscriptionInstances
public Collection<MigratingCompensationEventSubscriptionInstance> getMigratingCompensationSubscriptionInstances()
-
getMigratingScopeInstances
public Collection<MigratingScopeInstance> getMigratingScopeInstances()
-
getSourceDefinition
public ProcessDefinitionEntity getSourceDefinition()
-
getTargetDefinition
public ProcessDefinitionEntity getTargetDefinition()
-
getProcessInstanceId
public 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)
-
-