1 22 package org.netbeans.lib.cvsclient.request; 23 24 28 public final class RootRequest extends Request { 29 32 private final String cvsRoot; 33 34 38 public RootRequest(String cvsRoot) { 39 if (cvsRoot == null) { 40 throw new IllegalArgumentException ("cvsRoot must not be null!"); } 42 43 this.cvsRoot = cvsRoot; 44 } 45 46 50 public String getRequestString() throws UnconfiguredRequestException { 51 return "Root " + cvsRoot + "\n"; } 53 54 59 public boolean isResponseExpected() { 60 return false; 61 } 62 } | Popular Tags |