org.sonar.plugins.squid
Class SquidSensor

java.lang.Object
  extended by org.sonar.plugins.squid.SquidSensor
All Implemented Interfaces:
CheckProject, Sensor, BatchComponent, BatchExtension, Extension

public class SquidSensor
extends Object
implements Sensor


Field Summary
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
SquidSensor(RulesProfile profile, NoSonarFilter noSonarFilter, ProjectClasspath projectClasspath, ResourceCreationLock lock)
           
 
Method Summary
 void analyse(Project project, SensorContext context)
           
protected  Collection<File> getBytecodeFiles(Project project)
          Visibility has been relaxed to make the code testable.
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SquidSensor

public SquidSensor(RulesProfile profile,
                   NoSonarFilter noSonarFilter,
                   ProjectClasspath projectClasspath,
                   ResourceCreationLock lock)
Method Detail

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

analyse

public void analyse(Project project,
                    SensorContext context)
Specified by:
analyse in interface Sensor

getBytecodeFiles

protected Collection<File> getBytecodeFiles(Project project)
Visibility has been relaxed to make the code testable.

Returns:
collection of jar-files and directories with classes for analysis

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.