Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/ICVSProvider.java')
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/ICVSProvider.java21
1 files changed, 5 insertions, 16 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/ICVSProvider.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/ICVSProvider.java
index 1d0ee543a..657f93737 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/ICVSProvider.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/ICVSProvider.java
@@ -12,6 +12,7 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.internal.ccvs.core.CVSException;
+import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo;
/**
* The ICVSProvider interface provides access to CVS operations that create repository locations,
@@ -72,6 +73,9 @@ public interface ICVSProvider {
* The created instance will be cached with the provider as a result of the
* invokation of this method. When the client is done with the instance, disposeRepository
* should be called.
+ *
+ * This method will throw a CVSException if the location for the given configuration already
+ * exists.
*/
public ICVSRepositoryLocation createRepository(Properties configuration) throws CVSException;
@@ -88,21 +92,6 @@ public interface ICVSProvider {
public ICVSRepositoryLocation[] getKnownRepositories();
/**
- * Get the repository location that matches the given properties.
- * The supported properties are:
- *
- * connection The connection method to be used
- * user The username for the connection
- * password The password used for the connection (optional)
- * host The host where the repository resides
- * port The port to connect to (optional)
- * root The server directory where the repository is located
- *
- * If no known repositories mathc the given properties, null is returned.
- */
- public ICVSRepositoryLocation getRepository(Properties configuration) throws CVSException;
-
- /**
* Get the repository instance which matches the given String. The format of the String is
* the same as that returned by ICVSRepositoryLocation#getLocation().
* The format is:
@@ -132,7 +121,7 @@ public interface ICVSProvider {
* This method only sets the folder sync info for the project folder and the info
* is only set to the provided parameters if there is no sync info already.
*/
- public void setSharing(IProject project, ICVSRepositoryLocation location, String remotePath, CVSTag tag, IProgressMonitor monitor) throws TeamException;
+ public void setSharing(IProject project, FolderSyncInfo info, IProgressMonitor monitor) throws TeamException;
/**
* Get the names of the registered connection methods.

Back to the top