public abstract class PythonReportSensor extends Object implements org.sonar.api.batch.sensor.Sensor
| Modifier and Type | Field and Description |
|---|---|
protected org.sonar.api.config.Configuration |
conf |
| Constructor and Description |
|---|
PythonReportSensor(org.sonar.api.config.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
defaultReportPath() |
void |
describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor) |
void |
execute(org.sonar.api.batch.sensor.SensorContext context) |
static List<File> |
getReports(org.sonar.api.config.Configuration conf,
String baseDirPath,
String reportPathPropertyKey,
String defaultReportPath) |
protected void |
processReports(org.sonar.api.batch.sensor.SensorContext context,
List<File> reports) |
protected abstract String |
reportPathKey() |
public PythonReportSensor(org.sonar.api.config.Configuration conf)
public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
describe in interface org.sonar.api.batch.sensor.Sensorpublic void execute(org.sonar.api.batch.sensor.SensorContext context)
execute in interface org.sonar.api.batch.sensor.Sensorpublic static List<File> getReports(org.sonar.api.config.Configuration conf, String baseDirPath, String reportPathPropertyKey, String defaultReportPath)
protected void processReports(org.sonar.api.batch.sensor.SensorContext context,
List<File> reports)
throws XMLStreamException
XMLStreamExceptionprotected abstract String reportPathKey()
protected abstract String defaultReportPath()
Copyright © 2011–2018 SonarSource and Waleri Enns. All rights reserved.