Package org.sonar.plugins.surefire
Class SurefireSensor
- java.lang.Object
-
- org.sonar.plugins.surefire.SurefireSensor
-
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor,org.sonar.api.scanner.sensor.ProjectSensor
public class SurefireSensor extends Object implements org.sonar.api.batch.sensor.Sensor
-
-
Constructor Summary
Constructors Constructor Description SurefireSensor(SurefireJavaParser surefireJavaParser, org.sonar.api.config.Configuration settings, org.sonar.api.batch.fs.FileSystem fs, org.sonar.api.scan.filesystem.PathResolver pathResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollect(org.sonar.api.batch.sensor.SensorContext context, List<File> reportsDirs)voiddescribe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)voidexecute(org.sonar.api.batch.sensor.SensorContext context)StringtoString()
-
-
-
Constructor Detail
-
SurefireSensor
public SurefireSensor(SurefireJavaParser surefireJavaParser, org.sonar.api.config.Configuration settings, org.sonar.api.batch.fs.FileSystem fs, org.sonar.api.scan.filesystem.PathResolver pathResolver)
-
-
Method Detail
-
describe
public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
- Specified by:
describein interfaceorg.sonar.api.scanner.sensor.ProjectSensor- Specified by:
describein interfaceorg.sonar.api.batch.sensor.Sensor
-
execute
public void execute(org.sonar.api.batch.sensor.SensorContext context)
- Specified by:
executein interfaceorg.sonar.api.scanner.sensor.ProjectSensor- Specified by:
executein interfaceorg.sonar.api.batch.sensor.Sensor
-
collect
protected void collect(org.sonar.api.batch.sensor.SensorContext context, List<File> reportsDirs)
-
-