|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statsvn.output.SvnConfigurationOptions
public final class SvnConfigurationOptions
Class for storing all command line parameters. The parameters are set by the
Main.main(java.lang.String[])
method. Interested classes can read all
parameter values from here.
Method Summary | |
---|---|
static java.lang.String |
getCacheDir()
Returns the cacheDir. |
static java.io.File |
getCheckedOutDirectoryAsFile()
|
static int |
getNumberSvnDiffThreads()
|
static java.lang.String |
getSvnPassword()
|
static java.lang.String |
getSvnUsername()
|
static java.lang.String |
getTagsDirectory()
Following request 1692245, add option -tags-dir to the command line. |
static TaskLogger |
getTaskLogger()
|
static long |
getThresholdInMsToUseConcurrency()
|
static boolean |
isAnonymize()
|
static boolean |
isDumpContent()
|
static boolean |
isLegacyDiff()
Should we use a one diff per-file-per-revision or should we use the newer one diff per-revision? |
static void |
setAnonymize(boolean bAnon)
|
static void |
setCacheDir(java.lang.String cacheDir)
Sets the cacheDir. |
static void |
setCacheDirToDefault()
Sets the cacheDir to the DEFAULT_CACHE_DIR |
static void |
setDumpContent(boolean dumpContent)
|
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? |
static void |
setNumberSvnDiffThreads(int numberSvnDiffThreads)
|
static void |
setSvnPassword(java.lang.String svnPassword)
|
static void |
setSvnUsername(java.lang.String svnUsername)
|
static void |
setTagsDirectory(java.lang.String tagsDir)
Following request 1692245, add option -tags-dir to the command line. |
static void |
setTaskLogger(TaskLogger taskLogger)
|
static void |
setThresholdInMsToUseConcurrency(long thresholdToUseConcurrency)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getCacheDir()
public static void setCacheDir(java.lang.String cacheDir) throws net.sf.statcvs.output.ConfigurationException
cacheDir
- The cacheDir to set
net.sf.statcvs.output.ConfigurationException
- if the cache directory cannot be createdpublic static void setCacheDirToDefault() throws net.sf.statcvs.output.ConfigurationException
net.sf.statcvs.output.ConfigurationException
- if the cache directory cannot be createdpublic static java.io.File getCheckedOutDirectoryAsFile()
public static java.lang.String getSvnPassword()
public static void setSvnPassword(java.lang.String svnPassword)
svnPassword
- The svnPassword to set.public static java.lang.String getSvnUsername()
public static void setSvnUsername(java.lang.String svnUsername)
svnUsername
- The svnUsername to set.public static TaskLogger getTaskLogger()
public static void setTaskLogger(TaskLogger taskLogger)
taskLogger
- the taskLogger to setpublic static int getNumberSvnDiffThreads()
public static void setNumberSvnDiffThreads(int numberSvnDiffThreads)
numberSvnDiffThreads
- the numberSvnDiffThreads to setpublic static long getThresholdInMsToUseConcurrency()
public static void setThresholdInMsToUseConcurrency(long thresholdToUseConcurrency)
thresholdInMsToUseConcurrency
- the thresholdInMsToUseConcurrency to setpublic static void setDumpContent(boolean dumpContent)
public static boolean isDumpContent()
public static void setAnonymize(boolean bAnon)
public static boolean isAnonymize()
public static void setTagsDirectory(java.lang.String tagsDir)
public static java.lang.String getTagsDirectory()
public static boolean isLegacyDiff()
public static void setLegacyDiff(boolean isLegacy)
isLegacy
- true if the legacy diff should be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |