public class PylintSensor extends Object implements org.sonar.api.batch.Sensor
| Modifier and Type | Field and Description |
|---|---|
static String |
REPORT_PATH_KEY |
| Constructor and Description |
|---|
PylintSensor(PylintConfiguration conf,
org.sonar.api.batch.rule.ActiveRules activeRules,
org.sonar.api.batch.fs.FileSystem fileSystem,
org.sonar.api.component.ResourcePerspectives resourcePerspectives,
org.sonar.api.config.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext sensorContext) |
protected void |
analyzeFile(File file,
File out) |
boolean |
shouldExecuteOnProject(org.sonar.api.resources.Project project) |
public static final String REPORT_PATH_KEY
public PylintSensor(PylintConfiguration conf, org.sonar.api.batch.rule.ActiveRules activeRules, org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.api.component.ResourcePerspectives resourcePerspectives, org.sonar.api.config.Settings settings)
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 sensorContext)
analyse in interface org.sonar.api.batch.Sensorprotected void analyzeFile(File file, File out) throws IOException
IOExceptionCopyright © 2011–2017 SonarSource and Waleri Enns. All rights reserved.