1 11 package org.eclipse.team.internal.ccvs.core; 12 13 14 import org.eclipse.core.runtime.IAdaptable; 15 import org.eclipse.core.runtime.IProgressMonitor; 16 17 27 public interface ICVSRepositoryLocation extends IAdaptable { 28 29 32 public static int USE_DEFAULT_PORT = 0; 33 34 37 public IConnectionMethod getMethod(); 38 39 42 public String getHost(); 43 44 48 public int getPort(); 49 50 53 public String getRootDirectory(); 54 55 59 public String getLocation(boolean forDisplay); 60 61 70 public ICVSRemoteResource[] members(CVSTag tag, boolean modules, IProgressMonitor progress) throws CVSException; 71 72 76 public ICVSRemoteFile getRemoteFile(String remotePath, CVSTag tag); 77 78 82 public ICVSRemoteFolder getRemoteFolder(String remotePath, CVSTag tag); 83 84 87 public String getEncoding(); 88 89 93 public int getTimeout(); 94 95 98 public String getUsername(); 99 100 103 public IUserInfo getUserInfo(boolean allowModificationOfUsername); 104 105 108 public void flushUserInfo(); 109 110 116 public void validateConnection(IProgressMonitor monitor) throws CVSException; 117 118 122 public void setAllowCaching(boolean allowCaching); 123 124 127 public boolean getUserInfoCached(); 128 129 132 public void setUsername(String username); 133 134 137 public void setPassword(String password); 138 139 143 public IUserAuthenticator getUserAuthenticator(); 144 145 150 public void setUserAuthenticator(IUserAuthenticator authenticator); 151 152 156 public void setEncoding(String encoding); 157 158 } 159 | Popular Tags |