net.sf.statsvn.ant
Class StatSvnTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.sf.statcvs.ant.StatCvsTask
              extended bynet.sf.statsvn.ant.StatSvnTask

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

Ant task for running StatSVN.

Author:
Andy Glover, Richard Cyganiak, Benoit Xhenseval, Jason Kealey

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(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(String password)
           
 void setSvnKit(boolean isSvnKit)
          Should we use svn kit to query the repository?
 void setThreads(int threads)
           
 void setUsername(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

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.

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(String cacheDir)

setPassword

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

setUsername

public void setUsername(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)

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.