Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2010-05-31 16:20:06 +0000
committerPascal Rapicault2010-05-31 16:20:06 +0000
commit09a45d613ae8b0bb672968e28c28a112ac448b56 (patch)
tree9d16a377fb90c75a150dc4cf37286133e02e2d8f
parent565f37b878d169399e0372ca9f996ccbcfafd913 (diff)
downloadrt.equinox.p2-09a45d613ae8b0bb672968e28c28a112ac448b56.tar.gz
rt.equinox.p2-09a45d613ae8b0bb672968e28c28a112ac448b56.tar.xz
rt.equinox.p2-09a45d613ae8b0bb672968e28c28a112ac448b56.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java
index 7a7f87ccc..dc43ce896 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java
@@ -325,16 +325,25 @@ public final class MetadataFactory {
setProperty(InstallableUnitDescription.PROP_TYPE_PATCH, Boolean.TRUE.toString());
}
+ /**
+ * Set the applicability scope for the installable unit patch.
+ */
public void setApplicabilityScope(IRequirement[][] applyTo) {
if (applyTo == null)
throw new IllegalArgumentException("A patch scope can not be null"); //$NON-NLS-1$
((InstallableUnitPatch) unit()).setApplicabilityScope(applyTo);
}
+ /**
+ * Set the lifecycle change for the installable unit patch.
+ */
public void setLifeCycle(IRequirement lifeCycle) {
((InstallableUnitPatch) unit()).setLifeCycle(lifeCycle);
}
+ /**
+ * Set the requirement change for the installable unit patch.
+ */
public void setRequirementChanges(IRequirementChange[] changes) {
((InstallableUnitPatch) unit()).setRequirementsChange(changes);
}

Back to the top