public class PylintImportSensor extends PythonReportSensor
| Modifier and Type | Field and Description |
|---|---|
static String |
REPORT_PATH_KEY |
conf, fileSystem| Constructor and Description |
|---|
PylintImportSensor(org.sonar.api.config.Settings conf,
org.sonar.api.batch.rule.ActiveRules activeRules,
org.sonar.api.batch.fs.FileSystem fileSystem,
org.sonar.api.component.ResourcePerspectives resourcePerspectives) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
defaultReportPath() |
protected void |
processReports(org.sonar.api.batch.SensorContext context,
List<File> reports) |
protected String |
reportPathKey() |
boolean |
shouldExecuteOnProject(org.sonar.api.resources.Project project) |
analyse, getReports, toStringpublic static final String REPORT_PATH_KEY
public PylintImportSensor(org.sonar.api.config.Settings conf,
org.sonar.api.batch.rule.ActiveRules activeRules,
org.sonar.api.batch.fs.FileSystem fileSystem,
org.sonar.api.component.ResourcePerspectives resourcePerspectives)
public boolean shouldExecuteOnProject(org.sonar.api.resources.Project project)
shouldExecuteOnProject in interface org.sonar.api.batch.CheckProjectshouldExecuteOnProject in class PythonReportSensorprotected String reportPathKey()
reportPathKey in class PythonReportSensorprotected String defaultReportPath()
defaultReportPath in class PythonReportSensorprotected void processReports(org.sonar.api.batch.SensorContext context,
List<File> reports)
throws XMLStreamException
processReports in class PythonReportSensorXMLStreamExceptionCopyright © 2011–2017 SonarSource and Waleri Enns. All rights reserved.