|
|||||||||
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 ISvnProcessor |
getProcessor()
|
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 boolean |
isUsingSVNKit()
Should we use svnkit to query the repository |
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)
|
static void |
setUsingSvnKit(boolean isSvnKit)
Should we use svnkit to query the repository. |
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
net.sf.statcvs.output.ConfigurationException
- if the cache directory cannot be createdcacheDir
- The cacheDir to setpublic 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.public static boolean isUsingSVNKit()
public static void setUsingSvnKit(boolean isSvnKit)
isSvnKit
- true if we should use svnkitpublic static ISvnProcessor getProcessor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |