org.sonar.plugins.cobertura
Class CoberturaSensor
java.lang.Object
org.sonar.plugins.cobertura.CoberturaSensor
- All Implemented Interfaces:
- CheckProject, CoverageExtension, Sensor, BatchComponent, BatchExtension, Extension
public class CoberturaSensor
- extends Object
- implements Sensor, CoverageExtension
CoberturaSensor
public CoberturaSensor()
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject
in interface CheckProject
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 oncontext
- the context
parseReport
protected void parseReport(File xmlFile,
SensorContext context)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 SonarSource. All Rights Reserved.