org.apache.maven.scm.providers.cvslib.settings
Class Settings

java.lang.Object
  extended by org.apache.maven.scm.providers.cvslib.settings.Settings
All Implemented Interfaces:
java.io.Serializable

public class Settings
extends java.lang.Object
implements java.io.Serializable

Class Settings.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Settings()
           
 
Method Summary
 void addCvsVariable(java.lang.String key, java.lang.String value)
          Method addCvsVariable.
 java.lang.String getChangeLogCommandDateFormat()
          Get Date format allowed by changelog command.
 int getCompressionLevel()
          Get Sets the compression level on communications with the server? If you don't want to use compression, set it to 0.
 java.util.Properties getCvsVariables()
          Method getCvsVariables.
 java.lang.String getModelEncoding()
           
 java.lang.String getTemporaryFilesDirectory()
          Get Stores any temporary files in DIR instead of wherever CVS normally puts them (specifically, this overrides the value of the $TMPDIR environment variable, if any exists).
 boolean isTraceCvsCommand()
          Get Traces the execution of a CVS command.
 boolean isUseCvsrc()
          Get Do you want to use .cvsrc file?
 void setChangeLogCommandDateFormat(java.lang.String changeLogCommandDateFormat)
          Set Date format allowed by changelog command.
 void setCompressionLevel(int compressionLevel)
          Set Sets the compression level on communications with the server? If you don't want to use compression, set it to 0.
 void setCvsVariables(java.util.Properties cvsVariables)
          Set This sets internal CVS variables .
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setTemporaryFilesDirectory(java.lang.String temporaryFilesDirectory)
          Set Stores any temporary files in DIR instead of wherever CVS normally puts them (specifically, this overrides the value of the $TMPDIR environment variable, if any exists).
 void setTraceCvsCommand(boolean traceCvsCommand)
          Set Traces the execution of a CVS command.
 void setUseCvsrc(boolean useCvsrc)
          Set Do you want to use .cvsrc file?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Settings

public Settings()
Method Detail

addCvsVariable

public void addCvsVariable(java.lang.String key,
                           java.lang.String value)
Method addCvsVariable.

Parameters:
key -
value -

getChangeLogCommandDateFormat

public java.lang.String getChangeLogCommandDateFormat()
Get Date format allowed by changelog command.

Returns:
String

getCompressionLevel

public int getCompressionLevel()
Get Sets the compression level on communications with the server? If you don't want to use compression, set it to 0.

Returns:
int

getCvsVariables

public java.util.Properties getCvsVariables()
Method getCvsVariables.

Returns:
java.util.Properties

getTemporaryFilesDirectory

public java.lang.String getTemporaryFilesDirectory()
Get Stores any temporary files in DIR instead of wherever CVS normally puts them (specifically, this overrides the value of the $TMPDIR environment variable, if any exists). It should be an absolute path.

Returns:
String

isTraceCvsCommand

public boolean isTraceCvsCommand()
Get Traces the execution of a CVS command.

Returns:
boolean

isUseCvsrc

public boolean isUseCvsrc()
Get Do you want to use .cvsrc file?

Returns:
boolean

setChangeLogCommandDateFormat

public void setChangeLogCommandDateFormat(java.lang.String changeLogCommandDateFormat)
Set Date format allowed by changelog command.

Parameters:
changeLogCommandDateFormat -

setCompressionLevel

public void setCompressionLevel(int compressionLevel)
Set Sets the compression level on communications with the server? If you don't want to use compression, set it to 0.

Parameters:
compressionLevel -

setCvsVariables

public void setCvsVariables(java.util.Properties cvsVariables)
Set This sets internal CVS variables .

Parameters:
cvsVariables -

setTemporaryFilesDirectory

public void setTemporaryFilesDirectory(java.lang.String temporaryFilesDirectory)
Set Stores any temporary files in DIR instead of wherever CVS normally puts them (specifically, this overrides the value of the $TMPDIR environment variable, if any exists). It should be an absolute path.

Parameters:
temporaryFilesDirectory -

setTraceCvsCommand

public void setTraceCvsCommand(boolean traceCvsCommand)
Set Traces the execution of a CVS command.

Parameters:
traceCvsCommand -

setUseCvsrc

public void setUseCvsrc(boolean useCvsrc)
Set Do you want to use .cvsrc file?

Parameters:
useCvsrc -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.