org.sonar.plugins.jacoco
Class AbstractAnalyzer

java.lang.Object
  extended by org.sonar.plugins.jacoco.AbstractAnalyzer

public abstract class AbstractAnalyzer
extends Object


Constructor Summary
AbstractAnalyzer()
           
 
Method Summary
 void analyse(Project project, SensorContext context)
           
protected abstract  String getReportPath(Project project)
           
 void readExecutionData(File jacocoExecutionData, File buildOutputDir, SensorContext context)
           
protected abstract  void saveMeasures(SensorContext context, JavaFile resource, Collection<Measure> measures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAnalyzer

public AbstractAnalyzer()
Method Detail

analyse

public final void analyse(Project project,
                          SensorContext context)

readExecutionData

public final void readExecutionData(File jacocoExecutionData,
                                    File buildOutputDir,
                                    SensorContext context)
                             throws IOException
Throws:
IOException

saveMeasures

protected abstract void saveMeasures(SensorContext context,
                                     JavaFile resource,
                                     Collection<Measure> measures)

getReportPath

protected abstract String getReportPath(Project project)


Copyright © 2009-2012 SonarSource. All Rights Reserved.