Package org.sonar.plugins.python.indexer
Class PythonIndexer
- java.lang.Object
-
- org.sonar.plugins.python.indexer.PythonIndexer
-
- Direct Known Subclasses:
SonarLintPythonIndexer,SonarQubePythonIndexer
public abstract class PythonIndexer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringprojectBaseDirAbsolutePath
-
Constructor Summary
Constructors Constructor Description PythonIndexer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidbuildOnce(org.sonar.api.batch.sensor.SensorContext context)abstract CacheContextcacheContext()booleancanBeScannedWithoutParsing(org.sonar.api.batch.fs.InputFile inputFile)org.sonar.api.batch.fs.InputFilegetFileWithId(String fileId)StringpackageName(org.sonar.api.batch.fs.InputFile inputFile)ProjectLevelSymbolTableprojectLevelSymbolTable()
-
-
-
Field Detail
-
projectBaseDirAbsolutePath
protected String projectBaseDirAbsolutePath
-
-
Method Detail
-
projectLevelSymbolTable
public ProjectLevelSymbolTable projectLevelSymbolTable()
-
packageName
public String packageName(org.sonar.api.batch.fs.InputFile inputFile)
-
buildOnce
public abstract void buildOnce(org.sonar.api.batch.sensor.SensorContext context)
-
getFileWithId
@CheckForNull public org.sonar.api.batch.fs.InputFile getFileWithId(String fileId)
-
canBeScannedWithoutParsing
public boolean canBeScannedWithoutParsing(org.sonar.api.batch.fs.InputFile inputFile)
-
cacheContext
public abstract CacheContext cacheContext()
-
-