Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2011-09-18 15:50:32 -0400
committerPascal Rapicault2011-09-18 15:50:32 -0400
commit06094b9d62eba8012082ba41d255369cc62f859e (patch)
tree1005217325726b55c12f9fbe53cfccbdcddcff7e /bundles/org.eclipse.equinox.p2.director
parent235312dc10fea6ae579d4b951aba6cb0e31b571c (diff)
downloadrt.equinox.p2-06094b9d62eba8012082ba41d255369cc62f859e.tar.gz
rt.equinox.p2-06094b9d62eba8012082ba41d255369cc62f859e.tar.xz
rt.equinox.p2-06094b9d62eba8012082ba41d255369cc62f859e.zip
Add API to get the future state from a provisioning planv20110918-1950
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.director')
-rw-r--r--bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java
index 63447fd65..55affc2a2 100644
--- a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java
+++ b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java
@@ -51,6 +51,7 @@ public class SimplePlanner implements IPlanner {
private IProvisioningPlan generateProvisioningPlan(Collection<IInstallableUnit> fromState, Collection<IInstallableUnit> toState, ProfileChangeRequest changeRequest, IProvisioningPlan installerPlan, ProvisioningContext context) {
IProvisioningPlan plan = engine.createPlan(changeRequest.getProfile(), context);
+ plan.setFuturePlan(new CollectionResult<IInstallableUnit>(toState));
planIUOperations(plan, fromState, toState);
planPropertyOperations(plan, changeRequest, toState);

Back to the top