public class MigratingProcessInstance extends Object
Modifier and Type | Field and 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 and Description |
---|
MigratingProcessInstance(String processInstanceId,
ProcessDefinitionEntity sourceDefinition,
ProcessDefinitionEntity targetDefinition) |
protected static final MigrationLogger LOGGER
protected String processInstanceId
protected List<MigratingActivityInstance> migratingActivityInstances
protected List<MigratingTransitionInstance> migratingTransitionInstances
protected List<MigratingEventScopeInstance> migratingEventScopeInstances
protected List<MigratingCompensationEventSubscriptionInstance> migratingCompensationSubscriptionInstances
protected MigratingActivityInstance rootInstance
protected ProcessDefinitionEntity sourceDefinition
protected ProcessDefinitionEntity targetDefinition
public MigratingProcessInstance(String processInstanceId, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
public MigratingActivityInstance getRootInstance()
public void setRootInstance(MigratingActivityInstance rootInstance)
public Collection<MigratingActivityInstance> getMigratingActivityInstances()
public Collection<MigratingTransitionInstance> getMigratingTransitionInstances()
public Collection<MigratingEventScopeInstance> getMigratingEventScopeInstances()
public Collection<MigratingCompensationEventSubscriptionInstance> getMigratingCompensationSubscriptionInstances()
public Collection<MigratingScopeInstance> getMigratingScopeInstances()
public ProcessDefinitionEntity getSourceDefinition()
public ProcessDefinitionEntity getTargetDefinition()
public String getProcessInstanceId()
public MigratingActivityInstance addActivityInstance(MigrationInstruction migrationInstruction, ActivityInstance activityInstance, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity scopeExecution)
public MigratingTransitionInstance addTransitionInstance(MigrationInstruction migrationInstruction, TransitionInstance transitionInstance, ScopeImpl sourceScope, ScopeImpl targetScope, ExecutionEntity asyncExecution)
public MigratingEventScopeInstance addEventScopeInstance(MigrationInstruction migrationInstruction, ExecutionEntity eventScopeExecution, ScopeImpl sourceScope, ScopeImpl targetScope, MigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl eventSubscriptionSourceScope, ScopeImpl eventSubscriptionTargetScope)
public MigratingCompensationEventSubscriptionInstance addCompensationSubscriptionInstance(MigrationInstruction eventSubscriptionInstruction, EventSubscriptionEntity eventSubscription, ScopeImpl sourceScope, ScopeImpl targetScope)
Copyright © 2017. All rights reserved.