allensoft.javacvs.client
Class RemoveRequest
java.lang.Object
|
+--allensoft.javacvs.client.CVSCommunicationsObject
|
+--allensoft.javacvs.client.CVSRequest
|
+--allensoft.javacvs.client.MultiFileCVSRequest
|
+--allensoft.javacvs.client.RemoveRequest
- public class RemoveRequest
- extends MultiFileCVSRequest
Constructor Summary |
RemoveRequest()
Creates a new RemoveRequest using the default options. |
RemoveRequest(java.io.File file)
Creates a new RemoveRequest that adds the supplied file to the repository using the default options. |
RemoveRequest(java.io.File[] files)
Creates a new RemoveRequest that adds the supplied files to the repository using the default options. |
RemoveRequest(java.io.File[] files,
RemoveOptions options)
Creates a new RemoveRequest that adds the supplied files to the repository using the supplied options. |
RemoveRequest(java.io.File file,
RemoveOptions options)
Creates a new RemoveRequest that adds the supplied file to the repository using the supplied options. |
RemoveRequest(RemoveOptions options)
Creates a new RemoveRequest using the supplied options. |
Methods inherited from class allensoft.javacvs.client.CVSRequest |
canSendIsModified, createResponse, 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 |
RemoveRequest
public RemoveRequest(java.io.File[] files,
RemoveOptions options)
throws java.io.IOException,
CVSException
- Creates a new RemoveRequest that adds the supplied files to the repository using the supplied options.
RemoveRequest
public RemoveRequest(java.io.File file,
RemoveOptions options)
throws java.io.IOException,
CVSException
- Creates a new RemoveRequest that adds the supplied file to the repository using the supplied options.
RemoveRequest
public RemoveRequest(RemoveOptions options)
- Creates a new RemoveRequest using the supplied options. Files should be added to the request using
the
addFile
method.
RemoveRequest
public RemoveRequest(java.io.File[] files)
throws java.io.IOException,
CVSException
- Creates a new RemoveRequest that adds the supplied files to the repository using the default options.
RemoveRequest
public RemoveRequest(java.io.File file)
throws java.io.IOException,
CVSException
- Creates a new RemoveRequest that adds the supplied file to the repository using the default options.
RemoveRequest
public RemoveRequest()
- Creates a new RemoveRequest using the default options. Files should be added to the request using
the
addFile
method.
validateRequest
protected boolean validateRequest()
throws CVSException
- 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.
validateFile
protected void validateFile(java.io.File file)
throws java.io.IOException,
CVSException
- Overrides:
validateFile
in class MultiFileCVSRequest
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