1 19 package org.netbeans.lib.cvsclient.request; 20 21 27 public class GlobalOptionRequest extends Request { 28 31 private final String option; 32 33 37 public GlobalOptionRequest(String option) { 38 this.option = option; 39 } 40 41 45 public String getRequestString() throws UnconfiguredRequestException { 46 if (option == null) { 47 throw new UnconfiguredRequestException( 48 "Global option has not been set"); 49 } 50 51 return "Global_option " + option + "\n"; } 53 54 59 public boolean isResponseExpected() { 60 return false; 61 } 62 } | Popular Tags |