Class StatSvnTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.statcvs.ant.StatCvsTask
net.sf.statsvn.ant.StatSvnTask
- All Implemented Interfaces:
Cloneable
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
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Runs the taskprotected voidmethod initializes the ConfigurationOptions object with received values.voidsetAnonymize(boolean anonymize) voidsetCacheDir(String cacheDir) voidsetConcurrencyThreshold(long thresholdToUseConcurrency) voidsetLegacyDiff(boolean isLegacy) Should we use a one diff per-file-per-revision or should we use the newer one diff per-revision?voidsetPassword(String password) voidsetSvnKit(boolean isSvnKit) Should we use svn kit to query the repository?voidsetThreads(int threads) voidsetUsername(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, setXDocMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
StatSvnTask
public StatSvnTask()Constructor for StatSvnTask.
-
-
Method Details
-
execute
public void execute()Runs the task- Overrides:
executein classnet.sf.statcvs.ant.StatCvsTask
-
initProperties
protected void initProperties() throws net.sf.statcvs.output.ConfigurationExceptionmethod initializes the ConfigurationOptions object with received values.- Overrides:
initPropertiesin classnet.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
- Parameters:
cacheDirectory- String representing the cache directory of the program
-
setPassword
- Parameters:
password- The svnPassword to set.
-
setUsername
- 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.
-