net.sf.statcvs.ant
public class StatCvsTask extends org.apache.tools.ant.Task
Constructor and Description |
---|
StatCvsTask()
Constructor for StatCvsTask.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Runs the task
|
protected void |
initProperties()
method initializes the ConfigurationOptions object with
received values.
|
void |
setBugzilla(String bugzilla) |
void |
setCharset(String charset) |
void |
setChora(String chora) |
void |
setConfigFile(String configFile) |
void |
setCss(String cssFile) |
void |
setCvsweb(String cvsweb) |
void |
setDisableTwitterButton(boolean disableTwitterButton) |
void |
setExclude(String exclude)
Specifies files to exclude from the analysis.
|
void |
setFormat(String format) |
void |
setInclude(String include)
Specifies files to include in the analysis.
|
void |
setJCVSWeb(String jcvsweb) |
void |
setLog(String logFile) |
void |
setMantis(String mantis) |
void |
setNoDeveloper(String nonDeveloperLogin)
TODO: This supports just a single value, but should support multiple
login names -- how?
|
void |
setNotes(String notesFile) |
void |
setOutputDir(String outDir) |
void |
setPath(String modDir) |
void |
setTags(String tags)
Specifies regular expression to include tag to lines
of code graph.
|
void |
setTitle(String title) |
void |
setViewCVS(String viewcvs) |
void |
setViewVC(String viewvc) |
void |
setXDoc(boolean generateXDoc) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if an IO Error occursprotected void initProperties() throws ConfigurationException
ConfigurationException
public void setLog(String logFile)
logFile
- String representing the cvs log filepublic void setPath(String modDir)
modDir
- String representing the directory containing the CVS projectpublic void setOutputDir(String outDir)
outDir
- String representing the output directory of the reportpublic void setInclude(String include)
include
- a list of Ant-style wildcard patterns, delimited by : or ;FilePatternMatcher
public void setExclude(String exclude)
exclude
- a list of Ant-style wildcard patterns, delimited by : or ;FilePatternMatcher
public void setTags(String tags)
tags
- regular expression to included tags names.public void setTitle(String title)
title
- String representing the title to be used in the reportspublic void setCss(String cssFile)
cssFile
- String representing the CSS file to use for the reportpublic void setNotes(String notesFile)
notesFile
- String representing the notes file to include on
the report's index pagepublic void setViewCVS(String viewcvs)
viewcvs
- String representing the URL of a ViewCVS installationpublic void setViewVC(String viewvc)
viewvc
- String representing the URL of a ViewVC installationpublic void setCvsweb(String cvsweb)
cvsweb
- String representing the URL of a cvsweb installationpublic void setChora(String chora)
chora
- String representing the URL of a Chora installationpublic void setJCVSWeb(String jcvsweb)
jcvsweb
- String representing the URL of a JCVSWeb installationpublic void setBugzilla(String bugzilla)
bugzilla
- String representing the URL of a Bugzilla installationpublic void setMantis(String mantis)
mantis
- String representing the URL of a Mantis installationpublic void setXDoc(boolean generateXDoc)
generateXDoc
- Generate XDoc or HTML?public void setFormat(String format)
format
- "xdoc" or "html"public void setNoDeveloper(String nonDeveloperLogin)
nonDeveloperLogin
- A login name to be excluded from developer
listspublic void setCharset(String charset)
public void setConfigFile(String configFile)
public void setDisableTwitterButton(boolean disableTwitterButton)