allensoft.javacvs.client
Class LogRequest

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

public class LogRequest
extends MultiFileCVSRequest

Request object that performs a log command.


Constructor Summary
LogRequest()
           
LogRequest(java.io.File file)
           
LogRequest(java.io.File[] files)
           
LogRequest(java.io.File[] files, LogOptions options)
           
LogRequest(java.io.File file, LogOptions options)
           
LogRequest(LogOptions options)
           
 
Method Summary
protected  boolean canSendIsModified()
          Determines if this request can send Is-modified commands to the server instead of Modified commands.
protected  CVSResponse createResponse()
          Creates the response object used to receive the response for this request from the server.
 LogOptions getOptions()
           
protected  void sendRequest()
          Sends this request to the server.
 void setOptions(LogOptions options)
           
 
Methods inherited from class allensoft.javacvs.client.MultiFileCVSRequest
addFile, getCurrentDirectory, getFile, getFileCount, getRepositoryLocation, getWorkingDirectoryForFile, validateFile
 
Methods inherited from class allensoft.javacvs.client.CVSRequest
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

LogRequest

public LogRequest()

LogRequest

public LogRequest(java.io.File file)
           throws java.io.IOException,
                  CVSException

LogRequest

public LogRequest(java.io.File[] files)
           throws java.io.IOException,
                  CVSException

LogRequest

public LogRequest(LogOptions options)

LogRequest

public LogRequest(java.io.File file,
                  LogOptions options)
           throws java.io.IOException,
                  CVSException

LogRequest

public LogRequest(java.io.File[] files,
                  LogOptions options)
           throws java.io.IOException,
                  CVSException
Method Detail

canSendIsModified

protected boolean canSendIsModified()
Description copied from class: CVSRequest
Determines if this request can send Is-modified commands to the server instead of Modified commands. The Is-modified command just tells the server that a file has been modified, wheras the Modified command send the contents of the file as well. Please see the client protocol specification for more details. The default is to return false here so that Modified commands are sent instead of Is-modified.
Overrides:
canSendIsModified in class CVSRequest

getOptions

public LogOptions getOptions()

setOptions

public void setOptions(LogOptions options)

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

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.