public MigratingInstanceParseContext(MigratingInstanceParser parser, MigrationPlan migrationPlan, ExecutionEntity processInstance, ProcessDefinitionEntity targetProcessDefinition) { this.parser = parser; this.sourceProcessDefinition = processInstance.getProcessDefinition(); this.targetProcessDefinition = targetProcessDefinition; this.migratingProcessInstance = new MigratingProcessInstance(processInstance.Id, sourceProcessDefinition, targetProcessDefinition); this.mapping = new ActivityExecutionTreeMapping(Context.CommandContext, processInstance.Id); this.instructionsBySourceScope = organizeInstructionsBySourceScope(migrationPlan); }
public TreeVisitorAnonymousInnerClass2(MigratingInstanceParser outerInstance, org.camunda.bpm.engine.impl.migration.instance.parser.MigratingInstanceParseContext parseContext) { this.outerInstance = outerInstance; this.parseContext = parseContext; }