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
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 Summary
ConstructorsConstructorDescriptionPropertiesSensor(AbstractModuleConfiguration configuration, ReportPathCollector reportPathCollector, DotNetPluginMetadata pluginMetadata) -
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- 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
-