Java Doc for CVSRequest.java in  » Source-Control » jcvsweb » com » ice » cvsc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » jcvsweb » com.ice.cvsc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ice.cvsc.CVSRequest

CVSRequest
public class CVSRequest extends Object (Code)
The CVSRequest class is used to encapsulate a complete description of a CVS server request. Capable of parsing a simple string to define a request, CVSRequests are often built by configuration properties. Once a CVRequest is built and filled in, it is handed to a CVSClient for processing. Once the processing is completed, the CVSClient will return a CVSResponse containing the results of the request.
version:
   $Revision: 2.9 $
author:
   Timothy Gerard Endres, .
See Also:   CVSClient
See Also:   CVSProject


Field Summary
final public static  intES_ALL
    
final public static  intES_ALLLOST
    
final public static  intES_ALLMOD
    
final public static  intES_ALLUNC
    
final public static  intES_NEW
    
final public static  intES_NONE
    
final public static  intES_POPUP
    
final public static  intES_SEL
    
final public static  intES_SELALL
    
final public static  intES_SELLOST
    
final public static  intES_SELMOD
    
final public static  intES_SELUNC
    
final public static  intES_USER
    
final public static  intMETHOD_INETD
    
final public static  intMETHOD_RSH
    
final public static  intMETHOD_SSH
    
final public static  StringRCS_ID
    
final public static  StringRCS_REV
    
public  booleanallowGzipFileMode
     If true, allow gzip-file-contents mode, otherwise suppress it.
public  booleanallowOverWrites
     If true, reponses that try to overwrite existing updated files will be allowed to overwrite if the file is in the list of files sent to the server.
public  booleandisplayReponse
     Determines if this request should display the reponse.
public  booleanexecInCurDir
     This determines where cvs commands are executed.
public  booleanforceModifieds
     Force every file to go up as 'Modified'.
public  booleanguaranteeMsg
     Determines if this request will guarantee a '-m message' argument.
public  booleangzipFileMode
     If true, send all files using gzip-file-contents mode.
public  intgzipStreamLevel
     If > 0, sets Gzip-stream level.
public  booleanhandleCopyFile
     Determines if this request will handle 'Copy-file' responses.
public  booleanhandleEntries
     Determines if this request will handle all entries related responses ('New-entry', 'Remove-entry', etc.).
public  booleanhandleFlags
     Determines if this request will handle all settings related responses ('Set-sticky', 'Clear-static-directory', etc.).
public  booleanhandleMerged
     Determines if this request will handle 'Merged' responses.
public  booleanhandleUpdated
     Determines if this request will handle 'Updated' responses.
public  booleanignoreResult
     If true, the reponse's status will be ignored and assumed to be 'ok'.
public  booleanincludeNotifies
     Determines if this request should include the 'Notify' requests.
public  Vectornotifies
     The 'Notification' vector.
public  booleanqueueResponse
     Determines whether or not the server's reponse is queued. If true, all responses will be queued and handed back in the CVSResponse.
public  booleanredirectOutput
     Determines if the output of the reponse (stderr & stdout) will be redirected to a user specified file.
public  CVSResponseHandlerresponseHandler
     The response handler.
public  booleansaveTempFiles
     If true, the temporary files generated by this request will not be deleted as usual.
public  booleansendArguments
     Determines if this request will send 'Argument 's.
public  booleansendEmptyMods
     Determines if this request will send the special empty 'Modified' requests when a file is to be uploaded.
public  booleansendEntries
     Determines if this request will send the 'Entry' requests.
public  booleansendEntryFiles
     Determines if this request will send the 'Entry' list as 'files...'.
public  booleansendModifieds
     Determines if this request will send 'Modified' requests for files that are modified locally.
public  booleansendModule
     Determines if this request will send the 'Repository' list as 'module'.
public  booleansendRootDirectory
     Determines if this request will send the 'RootDirectory'.
public  booleanstaticDirIsSet
     Reflects the current 'Static-directory' setting in this request.
public  booleanstickyIsSet
     Reflects the current 'Sticky' setting in this request.
public  booleantraceProcessing
     If true, the processing phase of the CVS command will be traced on stderr.
public  booleantraceRequest
     If true, the request phase of the CVS command will be traced on stderr.
public  booleantraceResponse
     If true, the response phase of the CVS command will be traced on stderr.
public  booleantraceTCPData
     If true, all input and output data (TCP bytes) will be traced.
public  booleanuseDirectory
     This is set by the "Valid-requests" cvs request.
public  booleanuseUnchanged
     This is set by the "Valid-requests" cvs request.
public  StringvalidRequests
     The 'Valid-requests' response string from the server.
public  booleanverificationOnly
     Determines if this request will only verify the login and then return.

Constructor Summary
public  CVSRequest()
     Constructs a new CVSRequest object.

Method Summary
public  voidappendArguments(CVSArgumentVector newArgs)
     Appends an argument list to the request's argument list.
public  voidappendGlobalArguments(CVSArgumentVector newArgs)
     Appends an argument list to the request's global argument list.
public  voidendRedirection()
    
protected  voidfinalize()
    
public  CVSArgumentVectorgetArguments()
     Returns the request's argument list as a vector.
public  StringgetCheckInProgram()
     Returns the request's 'Checkin-prog' setting.
public  StringgetCommand()
     Returns the request's command name.
public static  StringgetConnMethodName(int method)
    
public  intgetConnectionMethod()
    
public  CVSEntrygetDirEntry()
    
public  CVSEntryVectorgetEntries()
     Returns the request's entry list as a vector.
public  intgetEntrySelector()
     Returns the request's entry selector.
public  CVSArgumentVectorgetGlobalArguments()
     Returns the request's global argument list as a vector.
public  intgetGzipStreamLevel()
    
public  StringgetHostName()
     Returns the request's server hostname.
public  StringgetLocalDirectory()
     Returns the request's local directory, which represents the project's local directory.
public  FilegetLocalFile(CVSEntry entry)
     Returns the request's entry's local file.
public  StringgetPassword()
    
public  intgetPort()
     Returns the request's server port number.
public  StringgetRepository()
     Returns the request's repository, which represents the project's CVS module on the server.
public  CVSResponseHandlergetResponseHandler()
     Returns the request's response handler.
public  StringgetRootDirectory()
     Returns the request's root directory, which represents the project's CVS root directory on the server.
public  StringgetRootRepository()
     Returns the request's ROOT repository.
public  StringgetRshProcess()
    
public  StringgetServerCommand()
    
public  String[]getSetVariables()
     Returns the request's user set variables.
public  HashtablegetStatics()
     Returns the request's 'Static-directory' settings.
public  HashtablegetStickys()
     Returns the request's 'Sticky' settings.
public  StringgetUpdateProgram()
     Returns the request's 'Update-prog' setting.
public  CVSUserInterfacegetUserInterface()
    
public  StringgetUserName()
    
public  StringgetVerifyFailReason()
     Returns the reason for the last verification failure.
public  booleanisPServer()
    
public  booleanisRedirected()
    
public  voidparseArgumentString(String argStr)
     Process a user provided, or command spec based, argument string.
public  booleanparseControlString(String specification)
     Attempts to parse a CVS request specification string.
public static  intparseEntriesSelector(char selectCh)
    
public  voidredirectLine(String line)
    
public  voidsetArguments(CVSArgumentVector arguments)
     Sets the request's argument list.
public  voidsetCheckInProgram(String program)
     Sets the request's 'Checkin-prog' setting.
public  voidsetCommand(String command)
     Sets the request's command.
public  voidsetConnectionMethod(int method)
    
public  voidsetDirEntry(CVSEntry dirEntry)
    
public  voidsetEntries(CVSEntryVector entries)
     Sets the request's entry list.
public  voidsetGlobalArguments(CVSArgumentVector arguments)
     Sets the request's global argument list.
public  voidsetGzipStreamLevel(int level)
    
public  voidsetHostName(String hostName)
     Sets the request's server hostname.
public  voidsetLocalDirectory(String localDirectory)
     Sets the request's local directory.
public  voidsetPServer(boolean isPServer)
    
public  voidsetPassword(String password)
    
public  voidsetPort(int port)
     Sets the request's server port number.
public  voidsetRedirectWriter(PrintWriter writer)
    
public  voidsetRepository(String repository)
     Sets the request's repository (or module name).
public  voidsetResponseHandler(CVSResponseHandler responseHandler)
     Sets the request's response handler.
public  voidsetRootDirectory(String rootDirectory)
     Sets the request's root directory.
public  voidsetRootRepository(String repository)
     Sets the request's ROOT repository.
public  voidsetRshProcess(String rshProcess)
    
public  voidsetServerCommand(String command)
    
public  voidsetSetVariables(String[] vars)
     Sets the request's user set variables.
public  voidsetStatics(Hashtable statics)
     Sets the request's 'Static-directory' settings.
public  voidsetStickys(Hashtable stickys)
     Sets the request's 'Sticky' settings.
public  voidsetUpdateProgram(String program)
     Sets the request's 'Update-prog' setting.
public  voidsetUserInterface(CVSUserInterface ui)
    
public  voidsetUserName(String userName)
    
public  voidsetVerifyFailReason(String reason)
     Sets the reason for the current verification failure.
public  StringtoString()
     Returns a string representation of this request.
public  booleanverifyRequest()
     Verify the current request.

Field Detail
ES_ALL
final public static int ES_ALL(Code)



ES_ALLLOST
final public static int ES_ALLLOST(Code)



ES_ALLMOD
final public static int ES_ALLMOD(Code)



ES_ALLUNC
final public static int ES_ALLUNC(Code)



ES_NEW
final public static int ES_NEW(Code)



ES_NONE
final public static int ES_NONE(Code)



ES_POPUP
final public static int ES_POPUP(Code)



ES_SEL
final public static int ES_SEL(Code)



ES_SELALL
final public static int ES_SELALL(Code)



ES_SELLOST
final public static int ES_SELLOST(Code)



ES_SELMOD
final public static int ES_SELMOD(Code)



ES_SELUNC
final public static int ES_SELUNC(Code)



ES_USER
final public static int ES_USER(Code)



METHOD_INETD
final public static int METHOD_INETD(Code)



METHOD_RSH
final public static int METHOD_RSH(Code)



METHOD_SSH
final public static int METHOD_SSH(Code)



RCS_ID
final public static String RCS_ID(Code)



RCS_REV
final public static String RCS_REV(Code)



allowGzipFileMode
public boolean allowGzipFileMode(Code)
If true, allow gzip-file-contents mode, otherwise suppress it.



allowOverWrites
public boolean allowOverWrites(Code)
If true, reponses that try to overwrite existing updated files will be allowed to overwrite if the file is in the list of files sent to the server. If false, normal processing occurs (no overwrites allowed).



displayReponse
public boolean displayReponse(Code)
Determines if this request should display the reponse.



execInCurDir
public boolean execInCurDir(Code)
This determines where cvs commands are executed. If true, the command is run in the 'current directory'. If false, the command is run at the 'top level'.



forceModifieds
public boolean forceModifieds(Code)
Force every file to go up as 'Modified'.



guaranteeMsg
public boolean guaranteeMsg(Code)
Determines if this request will guarantee a '-m message' argument. Actually getting the message from the user is the responsibility of the code that uses the request, since CVSRequests have no clue about how to get messages.



gzipFileMode
public boolean gzipFileMode(Code)
If true, send all files using gzip-file-contents mode.



gzipStreamLevel
public int gzipStreamLevel(Code)
If > 0, sets Gzip-stream level. If 0, do not use Gzip-stream mode.



handleCopyFile
public boolean handleCopyFile(Code)
Determines if this request will handle 'Copy-file' responses.



handleEntries
public boolean handleEntries(Code)
Determines if this request will handle all entries related responses ('New-entry', 'Remove-entry', etc.).



handleFlags
public boolean handleFlags(Code)
Determines if this request will handle all settings related responses ('Set-sticky', 'Clear-static-directory', etc.).



handleMerged
public boolean handleMerged(Code)
Determines if this request will handle 'Merged' responses.



handleUpdated
public boolean handleUpdated(Code)
Determines if this request will handle 'Updated' responses.



ignoreResult
public boolean ignoreResult(Code)
If true, the reponse's status will be ignored and assumed to be 'ok'. If false, the reponse's status will be set to reflect the status returned by the server.



includeNotifies
public boolean includeNotifies(Code)
Determines if this request should include the 'Notify' requests.



notifies
public Vector notifies(Code)
The 'Notification' vector. If this vector is not null then it contains a vector if notification strings of the format: 'File\tType\tTime\tHost\tWorkingDir\tWatches'.



queueResponse
public boolean queueResponse(Code)
Determines whether or not the server's reponse is queued. If true, all responses will be queued and handed back in the CVSResponse. If false, responses will be handed to the 'responseHandler' for processing as they come from the server.



redirectOutput
public boolean redirectOutput(Code)
Determines if the output of the reponse (stderr & stdout) will be redirected to a user specified file. It is the responsbility of the code using the request to setup the output file.



responseHandler
public CVSResponseHandler responseHandler(Code)
The response handler. If this request does not use the 'queue response' option, then this field must be set to the CVSResponseHandler that will handle the responses to this request.



saveTempFiles
public boolean saveTempFiles(Code)
If true, the temporary files generated by this request will not be deleted as usual. This is primarily for debugging.



sendArguments
public boolean sendArguments(Code)
Determines if this request will send 'Argument 's.



sendEmptyMods
public boolean sendEmptyMods(Code)
Determines if this request will send the special empty 'Modified' requests when a file is to be uploaded. If true, all 'Modified' requests send a file size of zero to optimize the protocol when the file's contents are not needed.



sendEntries
public boolean sendEntries(Code)
Determines if this request will send the 'Entry' requests.



sendEntryFiles
public boolean sendEntryFiles(Code)
Determines if this request will send the 'Entry' list as 'files...'.



sendModifieds
public boolean sendModifieds(Code)
Determines if this request will send 'Modified' requests for files that are modified locally. If true, modified files are uploaded via 'Modified'. If false, modified files are treated as if they were unchanged.



sendModule
public boolean sendModule(Code)
Determines if this request will send the 'Repository' list as 'module'.



sendRootDirectory
public boolean sendRootDirectory(Code)
Determines if this request will send the 'RootDirectory'.



staticDirIsSet
public boolean staticDirIsSet(Code)
Reflects the current 'Static-directory' setting in this request.



stickyIsSet
public boolean stickyIsSet(Code)
Reflects the current 'Sticky' setting in this request.



traceProcessing
public boolean traceProcessing(Code)
If true, the processing phase of the CVS command will be traced on stderr.



traceRequest
public boolean traceRequest(Code)
If true, the request phase of the CVS command will be traced on stderr.



traceResponse
public boolean traceResponse(Code)
If true, the response phase of the CVS command will be traced on stderr.



traceTCPData
public boolean traceTCPData(Code)
If true, all input and output data (TCP bytes) will be traced.



useDirectory
public boolean useDirectory(Code)
This is set by the "Valid-requests" cvs request. If true, the server understands 'Directory' requests.



useUnchanged
public boolean useUnchanged(Code)
This is set by the "Valid-requests" cvs request. If true, the server understands 'Unchanged' requests.



validRequests
public String validRequests(Code)
The 'Valid-requests' response string from the server.



verificationOnly
public boolean verificationOnly(Code)
Determines if this request will only verify the login and then return.




Constructor Detail
CVSRequest
public CVSRequest()(Code)
Constructs a new CVSRequest object.




Method Detail
appendArguments
public void appendArguments(CVSArgumentVector newArgs)(Code)
Appends an argument list to the request's argument list.
Parameters:
  arguments - The list of arguments to append.



appendGlobalArguments
public void appendGlobalArguments(CVSArgumentVector newArgs)(Code)
Appends an argument list to the request's global argument list.
Parameters:
  arguments - The list of arguments to append.



endRedirection
public void endRedirection()(Code)



finalize
protected void finalize() throws Throwable(Code)



getArguments
public CVSArgumentVector getArguments()(Code)
Returns the request's argument list as a vector. The request's argument list.



getCheckInProgram
public String getCheckInProgram()(Code)
Returns the request's 'Checkin-prog' setting. The request's 'Checkin-prog' program name.



getCommand
public String getCommand()(Code)
Returns the request's command name. The request's command name.



getConnMethodName
public static String getConnMethodName(int method)(Code)



getConnectionMethod
public int getConnectionMethod()(Code)



getDirEntry
public CVSEntry getDirEntry()(Code)



getEntries
public CVSEntryVector getEntries()(Code)
Returns the request's entry list as a vector. The request's entry list in a CVSEntryVector.



getEntrySelector
public int getEntrySelector()(Code)
Returns the request's entry selector. The request's entry selector.



getGlobalArguments
public CVSArgumentVector getGlobalArguments()(Code)
Returns the request's global argument list as a vector. The request's argument list.



getGzipStreamLevel
public int getGzipStreamLevel()(Code)



getHostName
public String getHostName()(Code)
Returns the request's server hostname. The string representing the request's server's hostname.



getLocalDirectory
public String getLocalDirectory()(Code)
Returns the request's local directory, which represents the project's local directory. The request's local directory.



getLocalFile
public File getLocalFile(CVSEntry entry)(Code)
Returns the request's entry's local file. The request's entry's local file.



getPassword
public String getPassword()(Code)



getPort
public int getPort()(Code)
Returns the request's server port number. The request's CVS server port number.



getRepository
public String getRepository()(Code)
Returns the request's repository, which represents the project's CVS module on the server. The request's repository.



getResponseHandler
public CVSResponseHandler getResponseHandler()(Code)
Returns the request's response handler. The request's response handler.



getRootDirectory
public String getRootDirectory()(Code)
Returns the request's root directory, which represents the project's CVS root directory on the server. The request's root directory.



getRootRepository
public String getRootRepository()(Code)
Returns the request's ROOT repository. This is the full repository path to the root entry's directory. This should match rootEntry.getRepository(). The request's ROOT repository.



getRshProcess
public String getRshProcess()(Code)



getServerCommand
public String getServerCommand()(Code)



getSetVariables
public String[] getSetVariables()(Code)
Returns the request's user set variables. The request's user set variables.



getStatics
public Hashtable getStatics()(Code)
Returns the request's 'Static-directory' settings. The request's 'Static-directory' settings Hashtable.



getStickys
public Hashtable getStickys()(Code)
Returns the request's 'Sticky' settings. The request's 'Sticky' settings Hashtable.



getUpdateProgram
public String getUpdateProgram()(Code)
Returns the request's 'Update-prog' setting. The request's 'Update-prog' program name.



getUserInterface
public CVSUserInterface getUserInterface()(Code)



getUserName
public String getUserName()(Code)



getVerifyFailReason
public String getVerifyFailReason()(Code)
Returns the reason for the last verification failure. The reason for the last verification failure.
See Also:   CVSRequest.verifyRequest
See Also:   CVSRequest.setVerifyFailReason



isPServer
public boolean isPServer()(Code)



isRedirected
public boolean isRedirected()(Code)



parseArgumentString
public void parseArgumentString(String argStr)(Code)
Process a user provided, or command spec based, argument string. The syntax is '[global options] command options'.
Parameters:
  argStr - The argument string to be parsed.



parseControlString
public boolean parseControlString(String specification)(Code)
Attempts to parse a CVS request specification string. If the parse succeeds, this request object will be updated to reflect the request specification, making it ready to be handed to a CVSClient for processing. The string is of the format:
 :command:select:request:response:arguments
 Where:
 command   - is a valid cvs command name (e.g., 'update', 'co', 'diff')
 select    - specifies which entries to apply command to
 request   - is a valid cvs request specification
 reponse   - is a valid cvs reponse handling specification
 arguments - is the remainder of the string taken as command arguments
 Refer to the CVSRequest Specification for details.

Parameters:
  specification - The CVSRequest Specification string to parse. True if the parse succeeded, false if it failed.



parseEntriesSelector
public static int parseEntriesSelector(char selectCh)(Code)



redirectLine
public void redirectLine(String line)(Code)



setArguments
public void setArguments(CVSArgumentVector arguments)(Code)
Sets the request's argument list.
Parameters:
  arguments - The new list of argument for this request.



setCheckInProgram
public void setCheckInProgram(String program)(Code)
Sets the request's 'Checkin-prog' setting. This does not create or delete the 'Checkin.prog' administration file. This must be done by the request user.
Parameters:
  program - The new checkin-program name.



setCommand
public void setCommand(String command)(Code)
Sets the request's command.
Parameters:
  command - The new command for this request.



setConnectionMethod
public void setConnectionMethod(int method)(Code)



setDirEntry
public void setDirEntry(CVSEntry dirEntry)(Code)



setEntries
public void setEntries(CVSEntryVector entries)(Code)
Sets the request's entry list.
Parameters:
  entries - The new list of entries for this request.



setGlobalArguments
public void setGlobalArguments(CVSArgumentVector arguments)(Code)
Sets the request's global argument list.
Parameters:
  arguments - The new list of argument for this request.



setGzipStreamLevel
public void setGzipStreamLevel(int level)(Code)



setHostName
public void setHostName(String hostName)(Code)
Sets the request's server hostname. The hostname is used to establish the connection with the CVS server.
Parameters:
  hostName - The new hostname for the request's CVS Server.



setLocalDirectory
public void setLocalDirectory(String localDirectory)(Code)
Sets the request's local directory.
Parameters:
  localDirectory - The new local directory for the request.



setPServer
public void setPServer(boolean isPServer)(Code)



setPassword
public void setPassword(String password)(Code)



setPort
public void setPort(int port)(Code)
Sets the request's server port number. The port number is used to establish the connection with the CVS server.
Parameters:
  port - The new port number for the request's CVS server.



setRedirectWriter
public void setRedirectWriter(PrintWriter writer)(Code)



setRepository
public void setRepository(String repository)(Code)
Sets the request's repository (or module name).
Parameters:
  repository - The request's repository.



setResponseHandler
public void setResponseHandler(CVSResponseHandler responseHandler)(Code)
Sets the request's response handler.
Parameters:
  repository - The request's response handler.



setRootDirectory
public void setRootDirectory(String rootDirectory)(Code)
Sets the request's root directory.
Parameters:
  rootDirectory - The new root directory for the request.



setRootRepository
public void setRootRepository(String repository)(Code)
Sets the request's ROOT repository.
Parameters:
  repository - The request's ROOT repository.



setRshProcess
public void setRshProcess(String rshProcess)(Code)



setServerCommand
public void setServerCommand(String command)(Code)



setSetVariables
public void setSetVariables(String[] vars)(Code)
Sets the request's user set variables.
Parameters:
  vars - The new user set variables.



setStatics
public void setStatics(Hashtable statics)(Code)
Sets the request's 'Static-directory' settings.
Parameters:
  statics - The new Hashtable of 'Static-directory' settings.



setStickys
public void setStickys(Hashtable stickys)(Code)
Sets the request's 'Sticky' settings.
Parameters:
  stickys - The new Hashtable of this request's 'Sticky' settings.



setUpdateProgram
public void setUpdateProgram(String program)(Code)
Sets the request's 'Update-prog' setting. This does not create or delete the 'Update.prog' administration file. This must be done by the request user.
Parameters:
  program - The new update-program name.



setUserInterface
public void setUserInterface(CVSUserInterface ui)(Code)



setUserName
public void setUserName(String userName)(Code)



setVerifyFailReason
public void setVerifyFailReason(String reason)(Code)
Sets the reason for the current verification failure.
Parameters:
  reason - The reason for the current verification failure.
See Also:   CVSRequest.verifyRequest
See Also:   CVSRequest.getVerifyFailReason



toString
public String toString()(Code)
Returns a string representation of this request. String representing request.



verifyRequest
public boolean verifyRequest()(Code)
Verify the current request. This determines if the request has enough information to be handed to a CVSClient for processing. It also makes some sanity checks. True of the request is valid, false if not.
See Also:   CVSRequest.verifyRequest
See Also:   CVSRequest.getVerifyFailReason



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.