Class PropertiesSensor

java.lang.Object
org.sonarsource.dotnet.shared.plugins.PropertiesSensor
All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor, org.sonar.api.scanner.sensor.ProjectSensor

public class PropertiesSensor extends Object implements org.sonar.api.batch.sensor.Sensor
This class is a non-global sensor used to collect all Roslyn reports and all protobufs resulting from the analysis of each and every C#/VB.NET project. Note that this is required because a global sensor cannot access to module specific properties.
  • Constructor Details

  • 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