net.sf.statsvn.ant
Class StatSvnTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.sf.statcvs.ant.StatCvsTask
              extended by net.sf.statsvn.ant.StatSvnTask

public class StatSvnTask
extends net.sf.statcvs.ant.StatCvsTask

Ant task for running StatSVN.

 

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
StatSvnTask()
          Constructor for StatSvnTask.
 
Method Summary
 void execute()
          Runs the task
protected  void initProperties()
          method initializes the ConfigurationOptions object with received values.
 void setAnonymize(boolean anonymize)
           
 void setCacheDir(java.lang.String cacheDir)
           
 void setConcurrencyThreshold(long thresholdToUseConcurrency)
           
 void setLegacyDiff(boolean isLegacy)
          Should we use a one diff per-file-per-revision or should we use the newer one diff per-revision?
 void setPassword(java.lang.String password)
           
 void setSvnKit(boolean isSvnKit)
          Should we use svn kit to query the repository?
 void setThreads(int threads)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class net.sf.statcvs.ant.StatCvsTask
setBugzilla, setCharset, setChora, setConfigFile, setCss, setCvsweb, setDisableTwitterButton, setExclude, setFormat, setInclude, setJCVSWeb, setLog, setMantis, setNoDeveloper, setNotes, setOutputDir, setPath, setTags, setTitle, setViewCVS, setViewVC, setXDoc
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatSvnTask

public StatSvnTask()
Constructor for StatSvnTask.

Method Detail

execute

public void execute()
Runs the task

Overrides:
execute in class net.sf.statcvs.ant.StatCvsTask
Throws:
buildException - if an IO Error occurs

initProperties

protected void initProperties()
                       throws net.sf.statcvs.output.ConfigurationException
method initializes the ConfigurationOptions object with received values.

Overrides:
initProperties in class net.sf.statcvs.ant.StatCvsTask
Throws:
net.sf.statcvs.output.ConfigurationException

setAnonymize

public void setAnonymize(boolean anonymize)
Parameters:
anonymize - Set Stats to be anonym or not.

setCacheDir

public void setCacheDir(java.lang.String cacheDir)
Parameters:
cacheDirectory - String representing the cache directory of the program

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The svnPassword to set.

setUsername

public void setUsername(java.lang.String username)
Parameters:
username - The svnUsername to set.

setThreads

public void setThreads(int threads)
Parameters:
threads - the numberSvnDiffThreads to set

setConcurrencyThreshold

public void setConcurrencyThreshold(long thresholdToUseConcurrency)
Parameters:
thresholdInMsToUseConcurrency - the thresholdInMsToUseConcurrency to set

setLegacyDiff

public 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.

setSvnKit

public void setSvnKit(boolean isSvnKit)
Should we use svn kit to query the repository?

Parameters:
isSvnKit - true if we want to use svnkit.