Class AnalysisWarningsSensor

java.lang.Object
org.sonarsource.dotnet.shared.plugins.AnalysisWarningsSensor
All Implemented Interfaces:
org.sonar.api.scanner.sensor.ProjectSensor

public final class AnalysisWarningsSensor extends Object implements org.sonar.api.scanner.sensor.ProjectSensor
This class is responsible to handle all the analysis warnings that need to be sent to Sonar Qube/Cloud. It will import the warnings files generated by auto-scan and by the Scanner for .Net.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnalysisWarningsSensor(org.sonar.api.config.Configuration configuration, org.sonar.api.notifications.AnalysisWarnings analysisWarnings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
     
    void
    execute(org.sonar.api.batch.sensor.SensorContext sensorContext)
     

    Methods inherited from class java.lang.Object

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

    • AnalysisWarningsSensor

      public AnalysisWarningsSensor(org.sonar.api.config.Configuration configuration, org.sonar.api.notifications.AnalysisWarnings analysisWarnings)
  • Method Details

    • describe

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

      public void execute(org.sonar.api.batch.sensor.SensorContext sensorContext)
      Specified by:
      execute in interface org.sonar.api.scanner.sensor.ProjectSensor