|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.batch.AbstractSourceImporter
@Deprecated public abstract class AbstractSourceImporter
Field Summary |
---|
Fields inherited from interface org.sonar.api.batch.Sensor |
---|
FLAG_SQUID_ANALYSIS |
Constructor Summary | |
---|---|
AbstractSourceImporter(Language language)
Deprecated. |
Method Summary | |
---|---|
protected void |
analyse(ProjectFileSystem fileSystem,
SensorContext context)
Deprecated. |
void |
analyse(Project project,
SensorContext context)
Deprecated. The method that is going to be run when the sensor is called |
protected Resource |
createResource(File file,
List<File> sourceDirs,
boolean unitTest)
Deprecated. |
Language |
getLanguage()
Deprecated. |
protected boolean |
isEnabled(Project project)
Deprecated. |
protected void |
onFinished()
Deprecated. |
protected void |
parseDirs(SensorContext context,
List<File> files,
List<File> sourceDirs,
boolean unitTest,
Charset sourcesEncoding)
Deprecated. |
boolean |
shouldExecuteOnProject(Project project)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSourceImporter(Language language)
Method Detail |
---|
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
public void analyse(Project project, SensorContext context)
Sensor
analyse
in interface Sensor
project
- the module the sensor runs oncontext
- the contextprotected void onFinished()
protected void analyse(ProjectFileSystem fileSystem, SensorContext context)
protected void parseDirs(SensorContext context, List<File> files, List<File> sourceDirs, boolean unitTest, Charset sourcesEncoding)
protected Resource createResource(File file, List<File> sourceDirs, boolean unitTest)
protected boolean isEnabled(Project project)
public Language getLanguage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |