From 09a45d613ae8b0bb672968e28c28a112ac448b56 Mon Sep 17 00:00:00 2001 From: Pascal Rapicault Date: Mon, 31 May 2010 16:20:06 +0000 Subject: *** empty log message *** --- .../src/org/eclipse/equinox/p2/metadata/MetadataFactory.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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); } -- cgit v1.2.3