Class SvnConfigurationOptions

java.lang.Object
net.sf.statsvn.output.SvnConfigurationOptions

public final class SvnConfigurationOptions extends Object
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 Details

    • getCacheDir

      public static String getCacheDir()
      Returns the cacheDir.
      Returns:
      String output Directory
    • setCacheDir

      public static void setCacheDir(String cacheDir) throws net.sf.statcvs.output.ConfigurationException
      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.ConfigurationException
      Sets the cacheDir to the DEFAULT_CACHE_DIR
      Throws:
      net.sf.statcvs.output.ConfigurationException - if the cache directory cannot be created
    • getCheckedOutDirectoryAsFile

      public static File getCheckedOutDirectoryAsFile()
    • getSvnPassword

      public static String getSvnPassword()
      Returns:
      Returns the svnPassword.
    • setSvnPassword

      public static void setSvnPassword(String svnPassword)
      Parameters:
      svnPassword - The svnPassword to set.
    • getSvnUsername

      public static String getSvnUsername()
      Returns:
      Returns the svnUsername.
    • setSvnUsername

      public static void setSvnUsername(String svnUsername)
      Parameters:
      svnUsername - The svnUsername to set.
    • getTaskLogger

      public static TaskLogger getTaskLogger()
      Returns:
      the taskLogger
    • setTaskLogger

      public static void setTaskLogger(TaskLogger taskLogger)
      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

      public static void setTagsDirectory(String tagsDir)
      Following request 1692245, add option -tags-dir to the command line.
    • getTagsDirectory

      public static String 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

      public static ISvnProcessor getProcessor()