org.netbeans.lib.cvsclient.request
Class ArgumentxRequest

java.lang.Object
  extended by org.netbeans.lib.cvsclient.request.Request
      extended by org.netbeans.lib.cvsclient.request.ArgumentxRequest

public class ArgumentxRequest
extends Request

Appends \n followed by the text specified in the request to the previous argument sent.


Constructor Summary
ArgumentxRequest(java.lang.String theArgument)
          Create a new request
 
Method Summary
 java.lang.String getRequestString()
          Get the request String that will be passed to the server
 boolean isResponseExpected()
          Is a response expected from the server?
 void setArgument(java.lang.String theArgument)
          Set the argument
 
Methods inherited from class org.netbeans.lib.cvsclient.request.Request
getFileForTransmission, modifiesInputStream, modifyInputStream, modifyOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgumentxRequest

public ArgumentxRequest(java.lang.String theArgument)
Create a new request

Parameters:
theArgument - the argument to use
Method Detail

setArgument

public void setArgument(java.lang.String theArgument)
Set the argument


getRequestString

public java.lang.String getRequestString()
                                  throws UnconfiguredRequestException
Get the request String that will be passed to the server

Specified by:
getRequestString in class Request
Returns:
the request String
Throws:
UnconfiguredRequestException - if the request has not been properly configured

isResponseExpected

public boolean isResponseExpected()
Is a response expected from the server?

Specified by:
isResponseExpected in class Request
Returns:
true if a response is expected, false if no response if expected

 

Built on October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.