org.codehaus.mojo.emma.task
Class ReportTask

java.lang.Object
  extended by org.codehaus.mojo.emma.task.AbstractTask
      extended by org.codehaus.mojo.emma.task.ReportTask

public class ReportTask
extends AbstractTask

Create a report from EMMA coverage data.

Author:
Alexandre ROMAN

Constructor Summary
ReportTask()
           
 
Method Summary
 void execute()
          Executes the task.
 String getColumns()
          Gets the columns.
 File[] getDataFiles()
          Gets the data files.
 String getDepth()
          Gets the depth.
 String getEncoding()
          Gets the encoding.
 File getMetadataFile()
          Gets the metadata file.
 String getMetrics()
          Gets the metrics.
 String getSort()
          Gets the sort order.
 File[] getSourcePaths()
          Gets the source paths.
 boolean isGenerateOnlyXml()
          Should only the XML report be generated.
 void setColumns(String columns)
          Sets the columns.
 void setDataFiles(File[] dataFiles)
          Sets the data files.
 void setDepth(String depth)
          Sets the depth.
 void setEncoding(String encoding)
          Sets the encoding.
 void setGenerateOnlyXml(boolean generateOnlyXml)
          Sets whether only the XML report be generated.
 void setMetadataFile(File metadataFile)
          Sets the metadata file.
 void setMetrics(String metrics)
          Sets the metrics.
 void setSort(String sort)
          Sets the sort order.
 void setSourcePaths(File[] sourcePaths)
          Sets the source paths.
 
Methods inherited from class org.codehaus.mojo.emma.task.AbstractTask
getCanonicalPaths, getOutputDirectory, isVerbose, setOutputDirectory, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportTask

public ReportTask()
Method Detail

execute

public void execute()
             throws IOException
Executes the task.

Throws:
IOException

getColumns

public String getColumns()
Gets the columns.

Returns:
the columns.

setColumns

public void setColumns(String columns)
Sets the columns.

Parameters:
columns - the columns.

getDepth

public String getDepth()
Gets the depth.

Returns:
the depth.

setDepth

public void setDepth(String depth)
Sets the depth.

Parameters:
depth - the depth.

getEncoding

public String getEncoding()
Gets the encoding.

Returns:
the encoding.

setEncoding

public void setEncoding(String encoding)
Sets the encoding.

Parameters:
encoding - the encoding.

getMetrics

public String getMetrics()
Gets the metrics.

Returns:
the metrics.

setMetrics

public void setMetrics(String metrics)
Sets the metrics.

Parameters:
metrics - the metrics.

getSort

public String getSort()
Gets the sort order.

Returns:
the sort order.

setSort

public void setSort(String sort)
Sets the sort order.

Parameters:
sort - the sort order.

getSourcePaths

public File[] getSourcePaths()
Gets the source paths.

Returns:
the source paths.

setSourcePaths

public void setSourcePaths(File[] sourcePaths)
Sets the source paths.

Parameters:
sourcePaths - the source paths.

getDataFiles

public File[] getDataFiles()
Gets the data files.

Returns:
the data files.

setDataFiles

public void setDataFiles(File[] dataFiles)
Sets the data files.

Parameters:
dataFiles - the data files.

getMetadataFile

public File getMetadataFile()
Gets the metadata file.

Returns:
the metadata file.

setMetadataFile

public void setMetadataFile(File metadataFile)
Sets the metadata file.

Parameters:
metadataFile - the metadata file.

isGenerateOnlyXml

public boolean isGenerateOnlyXml()
Should only the XML report be generated.

Returns:
true if only the XML report should be generated.

setGenerateOnlyXml

public void setGenerateOnlyXml(boolean generateOnlyXml)
Sets whether only the XML report be generated.

Parameters:
generateOnlyXml - true if only the XML report should be generated.


Copyright © 2007-2012 Codehaus. All Rights Reserved.