com.hungry.javacvs.server.util
Class CVSHandlerThreadState

java.lang.Object
  |
  +--com.hungry.javacvs.server.util.CVSHandlerThreadState

public class CVSHandlerThreadState
extends java.lang.Object


Constructor Summary
CVSHandlerThreadState()
          Create a new CVSHandlerThreadState
 
Method Summary
 void addArgument(CVSFileArg argument)
           
 void addArgument(java.lang.String argument)
           
 java.util.Enumeration argumentEnumeration()
           
 void beQuiet()
           
 void beReallyQuiet()
           
 void clearArguments()
           
 void disableDiskAccess()
           
 void disableHistory()
           
 void enableResponse(java.lang.String response)
           
 void enableTracing()
          Enables tracing for this server thread (as in the -t command line flag).
 java.lang.String getRoot()
           
 boolean isDiskAccessDisabled()
           
 boolean isHistoryDisabled()
           
 boolean isTracingEnabled()
          Returns whether or not tracing has been enabled for this thread.
 int quietLevel()
           
 void setClientDirectory(java.lang.String directory)
          The client side of the client-to-server pathname mapping.
 void setRepository(java.lang.String repository)
          Set this thread's idea about what the CVS Repository is.
 void setRoot(java.lang.String root)
          Set this threads's idea about what the CVSROOT is.
 void setServerDirectory(java.lang.String directory)
          The server side of the client-to-server pathname mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CVSHandlerThreadState

public CVSHandlerThreadState()
Create a new CVSHandlerThreadState
Method Detail

setRoot

public void setRoot(java.lang.String root)
Set this threads's idea about what the CVSROOT is.
Parameters:
root - the CVSROOT.

getRoot

public java.lang.String getRoot()

setRepository

public void setRepository(java.lang.String repository)
Set this thread's idea about what the CVS Repository is.
Parameters:
repository - the CVS Repository.

setClientDirectory

public void setClientDirectory(java.lang.String directory)
The client side of the client-to-server pathname mapping. The client always passes filenames relative to the client directory, and we convert them to be relative to the server directory.
Parameters:
directory - the client-side directory.

setServerDirectory

public void setServerDirectory(java.lang.String directory)
The server side of the client-to-server pathname mapping. The client always passes filenames relative to the client directory, and we convert them to be relative to the server directory.
Parameters:
directory - the server-side directory.

enableTracing

public void enableTracing()
Enables tracing for this server thread (as in the -t command line flag).

isTracingEnabled

public boolean isTracingEnabled()
Returns whether or not tracing has been enabled for this thread.

disableHistory

public void disableHistory()

isHistoryDisabled

public boolean isHistoryDisabled()

disableDiskAccess

public void disableDiskAccess()

isDiskAccessDisabled

public boolean isDiskAccessDisabled()

beQuiet

public void beQuiet()

beReallyQuiet

public void beReallyQuiet()

quietLevel

public int quietLevel()

enableResponse

public void enableResponse(java.lang.String response)

addArgument

public void addArgument(java.lang.String argument)

addArgument

public void addArgument(CVSFileArg argument)

argumentEnumeration

public java.util.Enumeration argumentEnumeration()

clearArguments

public void clearArguments()