net.sf.statcvs.ant
Class StatCvsTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.statcvs.ant.StatCvsTask
- All Implemented Interfaces:
- java.lang.Cloneable
public class StatCvsTask
- extends org.apache.tools.ant.Task
Ant task for running statcvs.
- Author:
- Andy Glover, Richard Cyganiak
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Constructor Summary |
StatCvsTask()
Constructor for StatCvsTask. |
Methods 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, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatCvsTask
public StatCvsTask()
- Constructor for StatCvsTask.
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Runs the task
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if an IO Error occurs
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- String representing the title to be used in the reports
setCvsLogFile
public void setCvsLogFile(java.lang.String logFile)
- Parameters:
logFile
- String representing the cvs log file
setProjectDirectory
public void setProjectDirectory(java.lang.String modDir)
- Parameters:
modDir
- String representing the directory containing the CVS project
setOutputDirectory
public void setOutputDirectory(java.lang.String outDir)
- Parameters:
outDir
- String representing the output directory of the report
setCssFile
public void setCssFile(java.lang.String cssFile)
- Parameters:
cssFile
- String representing the CSS file to use for the report
setNotesFile
public void setNotesFile(java.lang.String notesFile)
- Parameters:
notesFile
- String representing the notes file to include on
the report's index page
setShowCredits
public void setShowCredits(boolean showCredits)
- Parameters:
showCredits
- Show credit information in report?
setViewcvsURL
public void setViewcvsURL(java.lang.String viewcvs)
- Parameters:
viewcvs
- String representing the URL of a ViewCVS installation
setCvswebURL
public void setCvswebURL(java.lang.String cvsweb)
- Parameters:
cvsweb
- String representing the URL of a cvsweb installation
setChoraURL
public void setChoraURL(java.lang.String chora)
- Parameters:
chora
- String representing the URL of a Chora installation
setIncludeFiles
public void setIncludeFiles(java.lang.String include)
- Specifies files to include in the analysis.
- Parameters:
include
- a list of Ant-style wildcard patterns, delimited by : or ;- See Also:
FilePatternMatcher
setExcludeFiles
public void setExcludeFiles(java.lang.String exclude)
- Specifies files to exclude from the analysis.
- Parameters:
exclude
- a list of Ant-style wildcard patterns, delimited by : or ;- See Also:
FilePatternMatcher