Package org.sonar.plugins.python.indexer
Class SonarLintPythonIndexer
- java.lang.Object
-
- org.sonar.plugins.python.indexer.PythonIndexer
-
- org.sonar.plugins.python.indexer.SonarLintPythonIndexer
-
- All Implemented Interfaces:
org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
@SonarLintSide(lifespan="MODULE") public class SonarLintPythonIndexer extends PythonIndexer implements org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
-
-
Field Summary
-
Fields inherited from class org.sonar.plugins.python.indexer.PythonIndexer
projectBaseDirAbsolutePath
-
-
Constructor Summary
Constructors Constructor Description SonarLintPythonIndexer(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileSystem moduleFileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildOnce(org.sonar.api.batch.sensor.SensorContext context)CacheContextcacheContext()org.sonar.api.batch.fs.InputFilegetFileWithId(String fileId)voidprocess(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent)-
Methods inherited from class org.sonar.plugins.python.indexer.PythonIndexer
canBeFullyScannedWithoutParsing, canBePartiallyScannedWithoutParsing, packageName, projectLevelSymbolTable
-
-
-
-
Method Detail
-
buildOnce
public void buildOnce(org.sonar.api.batch.sensor.SensorContext context)
- Specified by:
buildOncein classPythonIndexer
-
getFileWithId
public org.sonar.api.batch.fs.InputFile getFileWithId(String fileId)
- Overrides:
getFileWithIdin classPythonIndexer
-
cacheContext
public CacheContext cacheContext()
- Specified by:
cacheContextin classPythonIndexer
-
process
public void process(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent)
- Specified by:
processin interfaceorg.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
-
-