allensoft.javacvs.client
Class ExportRequest
java.lang.Object
|
+--allensoft.javacvs.client.CVSCommunicationsObject
|
+--allensoft.javacvs.client.CVSRequest
|
+--allensoft.javacvs.client.ExportRequest
- public class ExportRequest
- extends CVSRequest
Methods inherited from class allensoft.javacvs.client.CVSRequest |
canSendIsModified, fireStatusUpdate, getClient, getDescription, getException, getRequest, getResourceString, getResponse, getSendQuestionableCommands, hasCompletedSuccessfully, performRequest, 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 |
ExportRequest
public ExportRequest(RepositoryLocation location,
java.io.File directory,
java.lang.String sModules,
ExportOptions options)
throws CVSException
ExportRequest
public ExportRequest(RepositoryLocation location,
java.io.File directory,
java.lang.String sModules,
java.util.Date date)
throws CVSException
ExportRequest
public ExportRequest(RepositoryLocation location,
java.io.File directory,
java.lang.String sModules,
java.lang.String sTag)
throws CVSException
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
createResponse
protected CVSResponse createResponse()
- Description copied from class:
CVSRequest
- Creates the response object used to receive the response for this request from
the server.
- Overrides:
createResponse
in class CVSRequest
- Following copied from class:
allensoft.javacvs.client.CVSRequest
- Returns:
- the response object for this request or null if no response is expected.
validateRequest
protected boolean validateRequest()
throws CVSException,
java.io.IOException
- Description copied from class:
CVSRequest
- Validates this request. This is called before sending the request or attempting
to make a connection to the server. It can be overridden to validate the settings
in this request to ensure it is valid before attempting to connect and send this reqesuest.
If this request is invalid then a CVSException is thrown describing why the request is invalid.
- Overrides:
validateRequest
in class CVSRequest
- Following copied from class:
allensoft.javacvs.client.CVSRequest
- Returns:
- true if the request needs to be sent (i.e. there is something to be done or false if the
request does not need to be sent.
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