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