Class SvnConfigurationOptions
java.lang.Object
net.sf.statsvn.output.SvnConfigurationOptions
Class for storing all command line parameters. The parameters are set by the
Main.main(String[]) method. Interested classes can read all
parameter values from here.- Version:
- $Id: ConfigurationOptions.java,v 1.17 2005/03/20 19:12:25 squig Exp $
- Author:
- jentzsch
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the cacheDir.static Filestatic intstatic ISvnProcessorstatic Stringstatic Stringstatic StringFollowing request 1692245, add option -tags-dir to the command line.static TaskLoggerstatic longstatic booleanstatic booleanstatic booleanShould we use a one diff per-file-per-revision or should we use the newer one diff per-revision?static booleanShould we use svnkit to query the repositorystatic voidsetAnonymize(boolean bAnon) static voidsetCacheDir(String cacheDir) Sets the cacheDir.static voidSets the cacheDir to the DEFAULT_CACHE_DIRstatic voidsetDumpContent(boolean dumpContent) static voidsetLegacyDiff(boolean isLegacy) Should we use a one diff per-file-per-revision or should we use the newer one diff per-revision?static voidsetNumberSvnDiffThreads(int numberSvnDiffThreads) static voidsetSvnPassword(String svnPassword) static voidsetSvnUsername(String svnUsername) static voidsetTagsDirectory(String tagsDir) Following request 1692245, add option -tags-dir to the command line.static voidsetTaskLogger(TaskLogger taskLogger) static voidsetThresholdInMsToUseConcurrency(long thresholdToUseConcurrency) static voidsetUsingSvnKit(boolean isSvnKit) Should we use svnkit to query the repository.
-
Method Details
-
getCacheDir
-
setCacheDir
Sets the cacheDir.- Parameters:
cacheDir- The cacheDir to set- Throws:
net.sf.statcvs.output.ConfigurationException- if the cache directory cannot be created
-
setCacheDirToDefault
public static void setCacheDirToDefault() throws net.sf.statcvs.output.ConfigurationExceptionSets the cacheDir to the DEFAULT_CACHE_DIR- Throws:
net.sf.statcvs.output.ConfigurationException- if the cache directory cannot be created
-
getCheckedOutDirectoryAsFile
-
getSvnPassword
- Returns:
- Returns the svnPassword.
-
setSvnPassword
- Parameters:
svnPassword- The svnPassword to set.
-
getSvnUsername
- Returns:
- Returns the svnUsername.
-
setSvnUsername
- Parameters:
svnUsername- The svnUsername to set.
-
getTaskLogger
- Returns:
- the taskLogger
-
setTaskLogger
- Parameters:
taskLogger- the taskLogger to set
-
getNumberSvnDiffThreads
public static int getNumberSvnDiffThreads()- Returns:
- the numberSvnDiffThreads
-
setNumberSvnDiffThreads
public static void setNumberSvnDiffThreads(int numberSvnDiffThreads) - Parameters:
numberSvnDiffThreads- the numberSvnDiffThreads to set
-
getThresholdInMsToUseConcurrency
public static long getThresholdInMsToUseConcurrency()- Returns:
- the thresholdInMsToUseConcurrency
-
setThresholdInMsToUseConcurrency
public static void setThresholdInMsToUseConcurrency(long thresholdToUseConcurrency) - Parameters:
thresholdInMsToUseConcurrency- the thresholdInMsToUseConcurrency to set
-
setDumpContent
public static void setDumpContent(boolean dumpContent) -
isDumpContent
public static boolean isDumpContent() -
setAnonymize
public static void setAnonymize(boolean bAnon) -
isAnonymize
public static boolean isAnonymize() -
setTagsDirectory
Following request 1692245, add option -tags-dir to the command line. -
getTagsDirectory
Following request 1692245, add option -tags-dir to the command line. -
isLegacyDiff
public static boolean isLegacyDiff()Should we use a one diff per-file-per-revision or should we use the newer one diff per-revision?- Returns:
- true if legacy diff should be used.
-
setLegacyDiff
public static void setLegacyDiff(boolean isLegacy) Should we use a one diff per-file-per-revision or should we use the newer one diff per-revision?- Parameters:
isLegacy- true if the legacy diff should be used.
-
isUsingSVNKit
public static boolean isUsingSVNKit()Should we use svnkit to query the repository- Returns:
- true if we should be using SVN kit.
-
setUsingSvnKit
public static void setUsingSvnKit(boolean isSvnKit) Should we use svnkit to query the repository.- Parameters:
isSvnKit- true if we should use svnkit
-
getProcessor
-