net.sourceforge.groboutils.codecoverage.v2.ant
Class GroboReportTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.sourceforge.groboutils.codecoverage.v2.ant.GroboReportTask

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

A variation of the CoveragePostCompilerTask. This one is intended to simplify the Ant build files. See feature request 901588 for details.

Since:
March 13, 2004
Version:
$Date: 2004/07/07 09:39:09 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Nested Class Summary
static class GroboReportTask.FilterTypeAttribute
           
static class GroboReportTask.LogFilter
           
 
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
GroboReportTask()
           
 
Method Summary
 void _addCombo(IReportStyle rs)
          Even though these are public, they take an interface, and so can't be called through the Ant script.
 void _addSingle(IReportStyle rs)
          Even though these are public, they take an interface, and so can't be called through the Ant script.
 void addFailOn(FailOnReportStyle fors)
           
 void addLogFilter(GroboReportTask.LogFilter lf)
          Add a filter to convert the Logger's output format to the standard format.
 void addSimple(SimpleHtmlReportStyle shrs)
           
 void addSimpleHtml(SimpleHtmlReportStyle shrs)
           
 void addSource(SourceHtmlReportStyle shrs)
           
 void addSourceHtml(SourceHtmlReportStyle shrs)
           
 void addSourceXsl(SourceXslReportStyle sxrs)
           
 void addXml(XmlReportStyle xrs)
           
 void addXsl(SimpleXslReportStyle sxrs)
           
 void execute()
           
 void setFailOnError(boolean f)
           
 void setLogDir(java.io.File dir)
          Set the directory which contains the log and data directories.
 
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

GroboReportTask

public GroboReportTask()
Method Detail

setLogDir

public void setLogDir(java.io.File dir)
Set the directory which contains the log and data directories.


addLogFilter

public void addLogFilter(GroboReportTask.LogFilter lf)
Add a filter to convert the Logger's output format to the standard format. If no filter is given, then we assume that the logs are already in the standard format.


addXml

public void addXml(XmlReportStyle xrs)

addXsl

public void addXsl(SimpleXslReportStyle sxrs)

addSourceXsl

public void addSourceXsl(SourceXslReportStyle sxrs)

addSimpleHtml

public void addSimpleHtml(SimpleHtmlReportStyle shrs)

addSimple

public void addSimple(SimpleHtmlReportStyle shrs)

addSourceHtml

public void addSourceHtml(SourceHtmlReportStyle shrs)

addSource

public void addSource(SourceHtmlReportStyle shrs)

addFailOn

public void addFailOn(FailOnReportStyle fors)

setFailOnError

public void setFailOnError(boolean f)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

_addSingle

public void _addSingle(IReportStyle rs)
Even though these are public, they take an interface, and so can't be called through the Ant script.


_addCombo

public void _addCombo(IReportStyle rs)
Even though these are public, they take an interface, and so can't be called through the Ant script.



Copyright © 2001-2003 by The GroboUtils Project