allensoft.javacvs.client
Class CheckoutRequest

java.lang.Object
  |
  +--allensoft.javacvs.client.CVSCommunicationsObject
        |
        +--allensoft.javacvs.client.CVSRequest
              |
              +--allensoft.javacvs.client.CheckoutRequest

public class CheckoutRequest
extends CVSRequest

Request object that performs a checkout of modules from a repository location to a local directory.


Constructor Summary
CheckoutRequest(RepositoryLocation location, java.io.File directory, java.lang.String sModule)
           
CheckoutRequest(RepositoryLocation location, java.io.File directory, java.lang.String[] modules)
           
CheckoutRequest(RepositoryLocation location, java.io.File directory, java.lang.String[] modules, CheckoutOptions options)
           
CheckoutRequest(RepositoryLocation location, java.io.File directory, java.lang.String sModule, CheckoutOptions options)
           
 
Method Summary
 java.io.File getCurrentDirectory()
          Gets the directory that all file paths are specified relative to when executing this request.
 RepositoryLocation getRepositoryLocation()
          Gets the repository location that the client must connect to in order to perform this request.
protected  void sendRequest()
          Sends this request to the server.
 
Methods inherited from class allensoft.javacvs.client.CVSRequest
canSendIsModified, createResponse, fireStatusUpdate, getClient, getDescription, getException, getRequest, getResourceString, getResponse, getSendQuestionableCommands, hasCompletedSuccessfully, performRequest, validateRequest, waitForSuccessfulCompletion
 
Methods inherited from class allensoft.javacvs.client.CVSCommunicationsObject
expandModules, flush, getFileFromRelativePath, getRelativePath, getRelativePath, getRelativePath, getWrapperRCSOptions, performSubRequest, receiveFile, receiveFile, receiveLine, sendArgument, sendArgument, sendArgument, sendArgument, sendCheckinProg, sendCurrentDirectory, sendDateOption, sendDirectory, sendDirectory, sendEntry, sendFileDetails, sendFileDetails, sendFileDetails, sendGlobalOption, sendKopt, sendLine, sendModified, sendOptions, sendStaticDirectory, sendSticky, sendText, sendUnchanged, sendUpdateProg, sendWorkingDirectoryDetails, sendWorkingDirectoryDetails, sendWorkingDirectoryDetails, validRequests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckoutRequest

public CheckoutRequest(RepositoryLocation location,
                       java.io.File directory,
                       java.lang.String[] modules,
                       CheckoutOptions options)
                throws CVSException

CheckoutRequest

public CheckoutRequest(RepositoryLocation location,
                       java.io.File directory,
                       java.lang.String sModule,
                       CheckoutOptions options)
                throws CVSException

CheckoutRequest

public CheckoutRequest(RepositoryLocation location,
                       java.io.File directory,
                       java.lang.String[] modules)
                throws CVSException

CheckoutRequest

public CheckoutRequest(RepositoryLocation location,
                       java.io.File directory,
                       java.lang.String sModule)
                throws CVSException
Method Detail

getCurrentDirectory

public java.io.File getCurrentDirectory()
Description copied from class: CVSRequest
Gets the directory that all file paths are specified relative to when executing this request.
Overrides:
getCurrentDirectory in class CVSRequest

getRepositoryLocation

public RepositoryLocation getRepositoryLocation()
Description copied from class: CVSRequest
Gets the repository location that the client must connect to in order to perform this request.
Overrides:
getRepositoryLocation in class CVSRequest

sendRequest

protected void sendRequest()
                    throws java.io.IOException,
                           CVSException
Description copied from class: CVSRequest
Sends this request to the server.
Overrides:
sendRequest in class CVSRequest