org.sonar.plugins.jacoco
Class JaCoCoSensor

java.lang.Object
  extended by org.sonar.plugins.jacoco.JaCoCoSensor
All Implemented Interfaces:
CheckProject, CoverageExtension, Sensor, BatchComponent, BatchExtension, Extension

public class JaCoCoSensor
extends Object
implements Sensor, CoverageExtension


Field Summary
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
JaCoCoSensor(JacocoConfiguration configuration)
           
 
Method Summary
 void analyse(Project project, SensorContext context)
          The method that is going to be run when the sensor is called
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaCoCoSensor

public JaCoCoSensor(JacocoConfiguration configuration)
Method Detail

analyse

public void analyse(Project project,
                    SensorContext context)
Description copied from interface: Sensor
The method that is going to be run when the sensor is called

Specified by:
analyse in interface Sensor
Parameters:
project - the project the sensor runs on
context - the context

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.