org.netbeans.lib.cvsclient.request
Class ExpandModulesRequest
java.lang.Object
org.netbeans.lib.cvsclient.request.Request
org.netbeans.lib.cvsclient.request.ExpandModulesRequest
public class ExpandModulesRequest
- extends Request
Sends the expand-modules request. This request expands the modules which
have been specified in previous argument requests. The server can assume
this is a checkout or export.
Expand is not the best word for what this request does. It does not
expand a module in any meaningful way. What it does is ask the server
to tell you which working directories the server needs to know about in
order to handle a checkout of a specific module. This is important where
you have aliased modules. If you alias module foo as bar, then you need
to know when you do a checkout of foo that bar on disk is an existing
checkout of the module.
- See Also:
ModuleExpansionResponse
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? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandModulesRequest
public ExpandModulesRequest()
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