org.sonar.plugins.python.pylint
Class PylintSensor
java.lang.Object
org.sonar.plugins.python.pylint.PylintSensor
- All Implemented Interfaces:
- org.sonar.api.batch.CheckProject, org.sonar.api.batch.Sensor, org.sonar.api.BatchComponent, org.sonar.api.BatchExtension, org.sonar.api.Extension
public class PylintSensor
- extends Object
- implements org.sonar.api.batch.Sensor
| Fields inherited from interface org.sonar.api.batch.Sensor |
FLAG_SQUID_ANALYSIS |
|
Method Summary |
void |
analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext sensorContext)
|
protected void |
analyzeFile(org.sonar.api.resources.InputFile inputFile,
File out,
org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext sensorContext)
|
boolean |
shouldExecuteOnProject(org.sonar.api.resources.Project project)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PylintSensor
public PylintSensor(org.sonar.api.rules.RuleFinder ruleFinder,
PylintConfiguration conf,
org.sonar.api.profiles.RulesProfile profile)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(org.sonar.api.resources.Project project)
- Specified by:
shouldExecuteOnProject in interface org.sonar.api.batch.CheckProject
analyse
public void analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext sensorContext)
- Specified by:
analyse in interface org.sonar.api.batch.Sensor
analyzeFile
protected void analyzeFile(org.sonar.api.resources.InputFile inputFile,
File out,
org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext sensorContext)
throws IOException
- Throws:
IOException
Copyright © 2011-2012 SonarSource and Waleri Enns. All Rights Reserved.