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

    Modifier and Type
    Method
    Description
    protected void
    collect​(org.sonar.api.batch.sensor.SensorContext context, List<File> reportsDirs)
     
    void
    describe​(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
     
    void
    execute​(org.sonar.api.batch.sensor.SensorContext context)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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 Details

    • describe

      public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
      Specified by:
      describe in interface org.sonar.api.scanner.sensor.ProjectSensor
      Specified by:
      describe in interface org.sonar.api.batch.sensor.Sensor
    • execute

      public void execute(org.sonar.api.batch.sensor.SensorContext context)
      Specified by:
      execute in interface org.sonar.api.scanner.sensor.ProjectSensor
      Specified by:
      execute in interface org.sonar.api.batch.sensor.Sensor
    • collect

      protected void collect(org.sonar.api.batch.sensor.SensorContext context, List<File> reportsDirs)
    • toString

      public String toString()
      Overrides:
      toString in class Object