public class PylintImportSensor extends PythonReportSensor
| Modifier and Type | Field and Description |
|---|---|
static String |
REPORT_PATH_KEY |
conf| Constructor and Description |
|---|
PylintImportSensor(org.sonar.api.config.Configuration conf,
AnalysisWarningsWrapper analysisWarnings) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
defaultReportPath() |
void |
describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor) |
protected void |
processReports(org.sonar.api.batch.sensor.SensorContext context,
List<File> reports) |
static void |
processRule(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 String |
reportPathKey() |
execute, getReportspublic static final String REPORT_PATH_KEY
public PylintImportSensor(org.sonar.api.config.Configuration conf,
AnalysisWarningsWrapper analysisWarnings)
public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
describe in interface org.sonar.api.batch.sensor.Sensordescribe in class PythonReportSensorprotected String reportPathKey()
reportPathKey in class PythonReportSensorprotected String defaultReportPath()
defaultReportPath in class PythonReportSensorprotected void processReports(org.sonar.api.batch.sensor.SensorContext context,
List<File> reports)
processReports in class PythonReportSensorpublic 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)
Copyright © 2011–2019 SonarSource and Waleri Enns. All rights reserved.