net.sf.statcvs.ant
Class StatCvsTask

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

public class StatCvsTask
extends org.apache.tools.ant.Task

Author:
Andy Glover Ant task for running statcvs. Available options are: Project Name - required Log File Name - required Project Directory - required Output Directory - required <-- this is optional since v0.1.3! TODO: there are more options available!

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
StatCvsTask()
          Constructor for StatCvsTask.
 
Method Summary
 void execute()
          Runs the task
 void setCssFile(java.lang.String cssFile)
           
 void setCvsLogFile(java.lang.String logFile)
           
 void setOutputDirectory(java.lang.String outDir)
           
 void setProjectDirectory(java.lang.String modDir)
           
 void setProjectName(java.lang.String pName)
           
 void setShowCredits(java.lang.String showCredits)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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

StatCvsTask

public StatCvsTask()
Constructor for StatCvsTask.

Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Runs the task

Throws:
org.apache.tools.ant.BuildException - if an IO Error occurs

setProjectName

public void setProjectName(java.lang.String pName)
Parameters:
pName - String representing the project name

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

setShowCredits

public void setShowCredits(java.lang.String showCredits)
Parameters:
showCredits - Show credit information in report? "yes" or "no"