Class DotNetSensor
java.lang.Object
org.sonarsource.dotnet.shared.plugins.DotNetSensor
- All Implemented Interfaces:
org.sonar.api.scanner.sensor.ProjectSensor
This class is the main sensor for C# and VB.NET which is going to process all Roslyn reports and protobuf contents and then push them to SonarQube.
This sensor is a SQ/SC project sensor. It will execute once at the end. Please note that a "SQ/SC project" is usually the equivalent of an "MSBuild solution".
-
Constructor Summary
ConstructorsConstructorDescriptionDotNetSensor(DotNetPluginMetadata pluginMetadata, ReportPathCollector reportPathCollector, ProjectTypeCollector projectTypeCollector, ProtobufDataImporter protobufDataImporter, RoslynDataImporter roslynDataImporter, org.sonar.api.notifications.AnalysisWarnings analysisWarnings) -
Method Summary
-
Constructor Details
-
Method Details
-
describe
public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor) - Specified by:
describein interfaceorg.sonar.api.scanner.sensor.ProjectSensor
-
execute
public void execute(org.sonar.api.batch.sensor.SensorContext context) - Specified by:
executein interfaceorg.sonar.api.scanner.sensor.ProjectSensor
-