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 String
getGitCommand()
Get the actual name of the git executable.String
getModelEncoding()
Get the modelEncoding field.String
getRevParseDateFormat()
Get git format allowed by changelog command.String
getTraceGitCommand()
Get traces the execution of a git command.boolean
isCommitNoVerify()
Get use the option --no-verify (can prevent trailing whitespace issue with cygwin).void
setCommitNoVerify(boolean commitNoVerify)
Set use the option --no-verify (can prevent trailing whitespace issue with cygwin).void
setGitCommand(String gitCommand)
Set the actual name of the git executable.void
setModelEncoding(String modelEncoding)
Set the modelEncoding field.void
setRevParseDateFormat(String revParseDateFormat)
Set git format allowed by changelog command.void
setTraceGitCommand(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.
-
-