1 22 package org.netbeans.lib.cvsclient; 23 24 import java.io.*; 25 import java.util.*; 26 27 import org.netbeans.lib.cvsclient.admin.*; 28 import org.netbeans.lib.cvsclient.command.*; 29 import org.netbeans.lib.cvsclient.connection.*; 30 import org.netbeans.lib.cvsclient.file.*; 31 import org.netbeans.lib.cvsclient.request.*; 32 import org.netbeans.lib.cvsclient.response.*; 33 import org.netbeans.lib.cvsclient.util.*; 34 35 42 public interface ClientServices { 43 48 void processRequests(List requests) throws IOException, 49 UnconfiguredRequestException, ResponseException, 50 CommandAbortedException; 51 52 57 String getRepository(); 58 59 68 String getRepositoryForDirectory(String directory) 69 throws IOException; 70 71 80 String getRepositoryForDirectory(File directory) throws IOException; 81 82 87 String getLocalPath(); 88 89 96 Entry getEntry(File file) throws IOException; 97 98 105 Iterator getEntries(File directory) throws IOException; 106 107 120 void updateAdminData(String localDirectory, String repositoryPath, 121 Entry entry) 122 throws IOException; 123 124 132 Set getAllFiles(File directory) throws IOException; 133 134 138 boolean isFirstCommand(); 139 140 145 void setIsFirstCommand(boolean first); 146 147 150 void removeEntry(File file) throws IOException; 151 152 156 void setIgnoreFileFilter(IgnoreFileFilter filter); 157 158 162 IgnoreFileFilter getIgnoreFileFilter(); 163 164 168 boolean shouldBeIgnored(File directory, String nonCvsFile); 169 170 174 177 void setUncompressedFileHandler(FileHandler handler); 178 179 182 void setGzipFileHandler(FileHandler handler); 183 184 190 String getStickyTagForDirectory(File directory); 191 192 197 void ensureConnection() throws AuthenticationException; 198 199 203 Map getWrappersMap() throws CommandException; 204 205 209 GlobalOptions getGlobalOptions(); 210 211 220 boolean exists(File file); 221 222 228 boolean isAborted(); 229 } 230 | Popular Tags |