public abstract class PythonReportSensor extends Object implements org.sonar.api.batch.Sensor
| Modifier and Type | Field and Description |
|---|---|
protected org.sonar.api.config.Settings |
conf |
protected org.sonar.api.batch.fs.FileSystem |
fileSystem |
| Constructor and Description |
|---|
PythonReportSensor(org.sonar.api.config.Settings conf,
org.sonar.api.batch.fs.FileSystem fileSystem) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext context) |
protected String |
defaultReportPath() |
protected List<File> |
getReports(org.sonar.api.config.Settings conf,
String baseDirPath,
String reportPathPropertyKey,
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) |
String |
toString() |
protected org.sonar.api.config.Settings conf
protected org.sonar.api.batch.fs.FileSystem fileSystem
public PythonReportSensor(org.sonar.api.config.Settings conf,
org.sonar.api.batch.fs.FileSystem fileSystem)
public boolean shouldExecuteOnProject(org.sonar.api.resources.Project project)
shouldExecuteOnProject in interface org.sonar.api.batch.CheckProjectpublic void analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext context)
analyse in interface org.sonar.api.batch.Sensorprotected List<File> getReports(org.sonar.api.config.Settings conf, String baseDirPath, String reportPathPropertyKey, String defaultReportPath)
protected void processReports(org.sonar.api.batch.SensorContext context,
List<File> reports)
throws XMLStreamException
XMLStreamExceptionprotected String reportPathKey()
protected String defaultReportPath()
Copyright © 2011–2015 SonarSource and Waleri Enns. All rights reserved.