1 19 package org.netbeans.lib.cvsclient.request; 20 21 27 public class CommandRequest extends Request { 28 29 public static final CommandRequest ADD = new CommandRequest("add\n"); public static final CommandRequest ANNOTATE = new CommandRequest("annotate\n"); public static final CommandRequest CHECKOUT = new CommandRequest("co\n"); public static final CommandRequest COMMIT = new CommandRequest("ci\n"); public static final CommandRequest DIFF = new CommandRequest("diff\n"); public static final CommandRequest EDITORS = new CommandRequest("editors\n"); public static final CommandRequest EXPORT = new CommandRequest("export\n"); public static final CommandRequest HISTORY = new CommandRequest("history\n"); public static final CommandRequest IMPORT = new CommandRequest("import\n"); public static final CommandRequest LOG = new CommandRequest("log\n"); public static final CommandRequest NOOP = new CommandRequest("noop\n"); public static final CommandRequest RANNOTATE = new CommandRequest("rannotate\n"); public static final CommandRequest REMOVE = new CommandRequest("remove\n"); public static final CommandRequest RLOG = new CommandRequest("rlog\n"); public static final CommandRequest RTAG = new CommandRequest("rtag\n"); public static final CommandRequest STATUS = new CommandRequest("status\n"); public static final CommandRequest TAG = new CommandRequest("tag\n"); public static final CommandRequest UPDATE = new CommandRequest("update\n"); public static final CommandRequest WATCH_ADD = new CommandRequest("watch-add\n"); public static final CommandRequest WATCH_ON = new CommandRequest("watch-on\n"); public static final CommandRequest WATCH_OFF = new CommandRequest("watch-off\n"); public static final CommandRequest WATCH_REMOVE = new CommandRequest("watch-remove\n"); public static final CommandRequest WATCHERS = new CommandRequest("watchers\n"); 53 private final String request; 54 55 private CommandRequest(String request) { 56 this.request = request; 57 } 58 59 62 public String getRequestString() { 63 return request; 64 } 65 66 69 public boolean isResponseExpected() { 70 return true; 71 } 72 } 73 | Popular Tags |