Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2008-04-18 21:35:35 +0000
committerDJ Houghton2008-04-18 21:35:35 +0000
commit03b9c4456816b025f356a8f5240c105cf67a488d (patch)
tree13905acd3e03256ba3fb3110d4a76acd4f6f9249 /bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2
parentce55ebb1a9515133fda95b447f699847e87c1d4c (diff)
downloadrt.equinox.p2-03b9c4456816b025f356a8f5240c105cf67a488d.tar.gz
rt.equinox.p2-03b9c4456816b025f356a8f5240c105cf67a488d.tar.xz
rt.equinox.p2-03b9c4456816b025f356a8f5240c105cf67a488d.zip
Bug 227817 - Should be able to pass in properties at repository creation time
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/IArtifactRepositoryManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/IArtifactRepositoryManager.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/IArtifactRepositoryManager.java
index ffb7813d4..7c294f0bf 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/IArtifactRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/IArtifactRepositoryManager.java
@@ -11,6 +11,7 @@
package org.eclipse.equinox.internal.provisional.p2.artifact.repository;
import java.net.URL;
+import java.util.Map;
import java.util.Properties;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -110,6 +111,7 @@ public interface IArtifactRepositoryManager {
* @param location the location for the new repository
* @param name the name of the new repository
* @param type the kind of repository to create
+ * @param properties the properties to set on the repository
* @return the newly created repository
* @throws ProvisionException if the repository could not be created. Reasons include:
* <ul>
@@ -118,7 +120,7 @@ public interface IArtifactRepositoryManager {
* <li>A repository already exists at that location.</li>
* </ul>
*/
- public IArtifactRepository createRepository(URL location, String name, String type) throws ProvisionException;
+ public IArtifactRepository createRepository(URL location, String name, String type, Map properties) throws ProvisionException;
/**
* Returns the artifact repository locations known to the repository manager.

Back to the top