org.sonar.plugins.squid
Class JavaSourceImporter
java.lang.Object
org.sonar.plugins.squid.JavaSourceImporter
- All Implemented Interfaces:
- CheckProject, Sensor, BatchComponent, BatchExtension, Extension
public final class JavaSourceImporter
- extends Object
- implements Sensor
Constructor Summary |
JavaSourceImporter(org.apache.commons.configuration.Configuration conf)
|
JavaSourceImporter
public JavaSourceImporter(org.apache.commons.configuration.Configuration conf)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
-
- Specified by:
shouldExecuteOnProject
in interface CheckProject
analyse
public void analyse(Project project,
SensorContext context)
- The method that is going to be run when the sensor is called
- Specified by:
analyse
in interface Sensor
- Parameters:
project
- the project the sensor runs oncontext
- the context
loadSourceFromFile
protected String loadSourceFromFile(InputFile inputFile,
Charset sourcesEncoding)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 SonarSource. All Rights Reserved.