Package org.sonar.plugins.python.pylint
Class PylintImportSensor
- java.lang.Object
-
- org.sonar.plugins.python.PythonReportSensor
-
- org.sonar.plugins.python.pylint.PylintImportSensor
-
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor,org.sonar.api.scanner.sensor.ProjectSensor
public class PylintImportSensor extends PythonReportSensor
-
-
Field Summary
Fields Modifier and Type Field Description static StringREPORT_PATH_KEY-
Fields inherited from class org.sonar.plugins.python.PythonReportSensor
conf
-
-
Constructor Summary
Constructors Constructor Description PylintImportSensor(org.sonar.api.config.Configuration conf, AnalysisWarningsWrapper analysisWarnings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdefaultReportPath()voiddescribe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)protected voidprocessReports(org.sonar.api.batch.sensor.SensorContext context, List<File> reports)static voidprocessRule(org.sonar.plugins.python.pylint.Issue pylintIssue, org.sonar.api.batch.fs.InputFile pyfile, org.sonar.api.batch.rule.ActiveRule rule, org.sonar.api.batch.sensor.SensorContext context)protected StringreportPathKey()-
Methods inherited from class org.sonar.plugins.python.PythonReportSensor
execute, getReports
-
-
-
-
Field Detail
-
REPORT_PATH_KEY
public static final String REPORT_PATH_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PylintImportSensor
public PylintImportSensor(org.sonar.api.config.Configuration conf, AnalysisWarningsWrapper analysisWarnings)
-
-
Method Detail
-
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- Overrides:
describein classPythonReportSensor
-
reportPathKey
protected String reportPathKey()
- Specified by:
reportPathKeyin classPythonReportSensor
-
defaultReportPath
protected String defaultReportPath()
- Specified by:
defaultReportPathin classPythonReportSensor
-
processReports
protected void processReports(org.sonar.api.batch.sensor.SensorContext context, List<File> reports)- Overrides:
processReportsin classPythonReportSensor
-
processRule
public static void processRule(org.sonar.plugins.python.pylint.Issue pylintIssue, org.sonar.api.batch.fs.InputFile pyfile, @Nullable org.sonar.api.batch.rule.ActiveRule rule, org.sonar.api.batch.sensor.SensorContext context)
-
-