org.sonar.plugins.python.pylint
Class PylintSensor

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
PylintSensor(org.sonar.api.rules.RuleFinder ruleFinder, PylintConfiguration conf, org.sonar.api.profiles.RulesProfile profile, org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem, org.sonar.api.component.ResourcePerspectives resourcePerspectives)
           
 
Method Summary
 void analyse(org.sonar.api.resources.Project project, org.sonar.api.batch.SensorContext sensorContext)
           
protected  void analyzeFile(File file, 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
 

Constructor Detail

PylintSensor

public PylintSensor(org.sonar.api.rules.RuleFinder ruleFinder,
                    PylintConfiguration conf,
                    org.sonar.api.profiles.RulesProfile profile,
                    org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem,
                    org.sonar.api.component.ResourcePerspectives resourcePerspectives)
Method Detail

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(File file,
                           File out,
                           org.sonar.api.resources.Project project,
                           org.sonar.api.batch.SensorContext sensorContext)
                    throws IOException
Throws:
IOException


Copyright © 2011-2014 SonarSource and Waleri Enns. All Rights Reserved.