Class Settings
- java.lang.Object
-
- org.apache.maven.scm.providers.cvslib.settings.Settings
-
- All Implemented Interfaces:
java.io.Serializable
public class Settings extends java.lang.Object implements java.io.SerializableClass Settings.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringchangeLogCommandDateFormatDate format allowed by changelog command.private intcompressionLevelSets the compression level on communications with the server? If you don't want to use compression, set it to 0.private java.util.PropertiescvsVariablesField cvsVariables.private java.lang.StringmodelEncodingField modelEncoding.private java.lang.StringtemporaryFilesDirectoryStores 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).private booleantraceCvsCommandTraces the execution of a CVS command.private booleanuseCvsrcDo you want to use .cvsrc file?private booleanuseForceTagMove tag if it already exists.
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCvsVariable(java.lang.String key, java.lang.String value)Method addCvsVariable.java.lang.StringgetChangeLogCommandDateFormat()Get date format allowed by changelog command.intgetCompressionLevel()Get sets the compression level on communications with the server? If you don't want to use compression, set it to 0.java.util.PropertiesgetCvsVariables()Method getCvsVariables.java.lang.StringgetModelEncoding()Get the modelEncoding field.java.lang.StringgetTemporaryFilesDirectory()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).booleanisTraceCvsCommand()Get traces the execution of a CVS command.booleanisUseCvsrc()Get do you want to use .cvsrc file?booleanisUseForceTag()Get move tag if it already exists.voidsetChangeLogCommandDateFormat(java.lang.String changeLogCommandDateFormat)Set date format allowed by changelog command.voidsetCompressionLevel(int compressionLevel)Set sets the compression level on communications with the server? If you don't want to use compression, set it to 0.voidsetCvsVariables(java.util.Properties cvsVariables)Set this sets internal CVS variables.voidsetModelEncoding(java.lang.String modelEncoding)Set the modelEncoding field.voidsetTemporaryFilesDirectory(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).voidsetTraceCvsCommand(boolean traceCvsCommand)Set traces the execution of a CVS command.voidsetUseCvsrc(boolean useCvsrc)Set do you want to use .cvsrc file?voidsetUseForceTag(boolean useForceTag)Set move tag if it already exists.
-
-
-
Field Detail
-
changeLogCommandDateFormat
private java.lang.String changeLogCommandDateFormat
Date format allowed by changelog command.
-
useCvsrc
private boolean useCvsrc
Do you want to use .cvsrc file?
-
compressionLevel
private int compressionLevel
Sets the compression level on communications with the server? If you don't want to use compression, set it to 0.
-
traceCvsCommand
private boolean traceCvsCommand
Traces the execution of a CVS command.
-
temporaryFilesDirectory
private java.lang.String temporaryFilesDirectory
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.
-
cvsVariables
private java.util.Properties cvsVariables
Field cvsVariables.
-
useForceTag
private boolean useForceTag
Move tag if it already exists.
-
modelEncoding
private java.lang.String modelEncoding
Field modelEncoding.
-
-
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:
- Properties
-
getModelEncoding
public java.lang.String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
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
-
isUseForceTag
public boolean isUseForceTag()
Get move tag if it already exists.- 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-
-
setModelEncoding
public void setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding-
-
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-
-
setUseForceTag
public void setUseForceTag(boolean useForceTag)
Set move tag if it already exists.- Parameters:
useForceTag-
-
-