private ProvisioningPlan getUpdatesInternal(Collection<ProducerSpec> producers) throws ProvisioningException { final ProvisioningPlan plan = ProvisioningPlan.builder(); updatesTracker = getUpdatesTracker(); updatesTracker.starting(producers.size()); for(ProducerSpec producer : producers) { updatesTracker.processing(producer); final FeaturePackUpdatePlan fpPlan = getFeaturePackUpdate(producer); if(!fpPlan.isEmpty()) { plan.update(fpPlan); } updatesTracker.processed(producer); } updatesTracker.complete(); return plan; }
tracker.starting(-1);
private void doBuild(boolean cleanupTransitive, boolean trackProgress) throws ProvisioningException { buildTracker.starting(-1); final Map<ProducerSpec, FPID> depBranch = new HashMap<>(); layout(config, depBranch, FeaturePackLayout.DIRECT_DEP);