Class Settings
- java.lang.Object
-
- org.apache.maven.scm.providers.gitlib.settings.Settings
-
- All Implemented Interfaces:
Serializable
public class Settings extends Object implements Serializable
Class Settings.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGitCommand()Get the actual name of the git executable.StringgetModelEncoding()Get the modelEncoding field.StringgetRevParseDateFormat()Get git format allowed by changelog command.StringgetTraceGitCommand()Get traces the execution of a git command.booleanisCommitNoVerify()Get use the option --no-verify (can prevent trailing whitespace issue with cygwin).voidsetCommitNoVerify(boolean commitNoVerify)Set use the option --no-verify (can prevent trailing whitespace issue with cygwin).voidsetGitCommand(String gitCommand)Set the actual name of the git executable.voidsetModelEncoding(String modelEncoding)Set the modelEncoding field.voidsetRevParseDateFormat(String revParseDateFormat)Set git format allowed by changelog command.voidsetTraceGitCommand(String traceGitCommand)Set traces the execution of a git command.
-
-
-
Constructor Detail
-
Settings
public Settings()
-
-
Method Detail
-
getGitCommand
public String getGitCommand()
Get the actual name of the git executable.- Returns:
- String
-
getModelEncoding
public String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
getRevParseDateFormat
public String getRevParseDateFormat()
Get git format allowed by changelog command.- Returns:
- String
-
getTraceGitCommand
public String getTraceGitCommand()
Get traces the execution of a git command. could be 1,2, true or a file location.- Returns:
- String
-
isCommitNoVerify
public boolean isCommitNoVerify()
Get use the option --no-verify (can prevent trailing whitespace issue with cygwin).- Returns:
- boolean
-
setCommitNoVerify
public void setCommitNoVerify(boolean commitNoVerify)
Set use the option --no-verify (can prevent trailing whitespace issue with cygwin).- Parameters:
commitNoVerify- a commitNoVerify object.
-
setGitCommand
public void setGitCommand(String gitCommand)
Set the actual name of the git executable.- Parameters:
gitCommand- a gitCommand object.
-
setModelEncoding
public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setRevParseDateFormat
public void setRevParseDateFormat(String revParseDateFormat)
Set git format allowed by changelog command.- Parameters:
revParseDateFormat- a revParseDateFormat object.
-
setTraceGitCommand
public void setTraceGitCommand(String traceGitCommand)
Set traces the execution of a git command. could be 1,2, true or a file location.- Parameters:
traceGitCommand- a traceGitCommand object.
-
-