org.sonar.maven.cobertura
Class CoberturaCollector

java.lang.Object
  extended by org.sonar.maven.AbstractCollector
      extended by org.sonar.maven.cobertura.CoberturaCollector
All Implemented Interfaces:
Collector

public class CoberturaCollector
extends AbstractCollector


Constructor Summary
CoberturaCollector(java.io.File xmlFile, JavaMeasuresRecorder recorder)
           
CoberturaCollector(org.apache.maven.project.MavenProject project, JavaMeasuresRecorder recorder)
           
 
Method Summary
 void collect()
           
 Metric getMetric()
           
 boolean shouldExecuteOn(org.apache.maven.project.MavenProject mavenProject)
           
 boolean shouldStopOnFailure()
           
 
Methods inherited from class org.sonar.maven.AbstractCollector
findFileFromBuildDirectory, getPackageAndClass, loadAndParseXmlReport, parseNumber, parseNumber, scaleValue, scaleValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoberturaCollector

public CoberturaCollector(org.apache.maven.project.MavenProject project,
                          JavaMeasuresRecorder recorder)

CoberturaCollector

public CoberturaCollector(java.io.File xmlFile,
                          JavaMeasuresRecorder recorder)
Method Detail

shouldStopOnFailure

public boolean shouldStopOnFailure()

shouldExecuteOn

public boolean shouldExecuteOn(org.apache.maven.project.MavenProject mavenProject)

getMetric

public Metric getMetric()

collect

public void collect()


Copyright © 2007-2008 hortis. All Rights Reserved.