Class PythonReportSensor

  • All Implemented Interfaces:
    org.sonar.api.batch.sensor.Sensor, org.sonar.api.scanner.sensor.ProjectSensor
    Direct Known Subclasses:
    PythonXUnitSensor

    public abstract class PythonReportSensor
    extends Object
    implements org.sonar.api.batch.sensor.Sensor
    • Field Detail

      • conf

        protected final org.sonar.api.config.Configuration conf
    • Constructor Detail

      • PythonReportSensor

        public PythonReportSensor​(org.sonar.api.config.Configuration conf,
                                  AnalysisWarningsWrapper analysisWarnings,
                                  String reportType)
    • Method Detail

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

        protected abstract String reportPathKey()
      • defaultReportPath

        protected abstract String defaultReportPath()