allensoft.javacvs.client
Class CheckoutOptions

java.lang.Object
  |
  +--allensoft.javacvs.client.CVSCommunicationsObject
        |
        +--allensoft.javacvs.client.Options
              |
              +--allensoft.javacvs.client.CheckoutOptions
Direct Known Subclasses:
UpdateOptions

public class CheckoutOptions
extends Options

Defines the options for a checkout request.


Constructor Summary
CheckoutOptions()
           
 
Method Summary
 boolean getClearStickyTags()
           
 boolean getCreateEmptyDirectories()
           
 boolean getPruneEmptyDirectories()
           
 boolean getRetrieveFilesThatDontMatchTagOrDate()
           
 java.util.Date getStickyDate()
          Gets the date that the checkout out will not retrieve later revisions of files than.
 java.lang.String getStickyTag()
          Gets the tag that the checkout out will not retrieve later revisions of files than.
 boolean isRecursive()
           
protected  void sendOptions()
          Sends the options to the server.
 void setClearStickyTags(boolean b)
           
 void setCreateEmptyDirectories(boolean b)
           
 void setPruneEmptyDirectories(boolean b)
           
 void setRecursive(boolean b)
           
 void setRetrieveFilesThatDontMatchTagOrDate(boolean b)
           
 void setStickyDate(java.util.Date date)
          Sets the date that the checkout out will not retrieve later revisions of files than.
 void setStickyTag(java.lang.String sStickyTag)
          Sets the tag that the checkout out will not retrieve later revisions of files than.
 
Methods inherited from class allensoft.javacvs.client.Options
buildOptionsAsString, getClient, getCurrentDirectory, setToDefaults
 
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

CheckoutOptions

public CheckoutOptions()
Method Detail

sendOptions

protected void sendOptions()
                    throws java.io.IOException,
                           CVSException
Sends the options to the server.
Overrides:
sendOptions in class Options

getStickyDate

public java.util.Date getStickyDate()
Gets the date that the checkout out will not retrieve later revisions of files than. If this is null then the latest revision will be got unless a tag has been specified.

setStickyDate

public void setStickyDate(java.util.Date date)
Sets the date that the checkout out will not retrieve later revisions of files than.

getStickyTag

public java.lang.String getStickyTag()
Gets the tag that the checkout out will not retrieve later revisions of files than.

setStickyTag

public void setStickyTag(java.lang.String sStickyTag)
Sets the tag that the checkout out will not retrieve later revisions of files than.

getPruneEmptyDirectories

public boolean getPruneEmptyDirectories()

setPruneEmptyDirectories

public void setPruneEmptyDirectories(boolean b)

getClearStickyTags

public boolean getClearStickyTags()

setClearStickyTags

public void setClearStickyTags(boolean b)

getCreateEmptyDirectories

public boolean getCreateEmptyDirectories()

setCreateEmptyDirectories

public void setCreateEmptyDirectories(boolean b)

isRecursive

public boolean isRecursive()

setRecursive

public void setRecursive(boolean b)

getRetrieveFilesThatDontMatchTagOrDate

public boolean getRetrieveFilesThatDontMatchTagOrDate()

setRetrieveFilesThatDontMatchTagOrDate

public void setRetrieveFilesThatDontMatchTagOrDate(boolean b)