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
ConstructorsConstructorDescriptionSonarLintPythonIndexer
(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileSystem moduleFileSystem) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildOnce
(org.sonar.api.batch.sensor.SensorContext context) org.sonar.api.batch.fs.InputFile
getFileWithId
(String fileId) void
process
(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent) void
setSonarLintCache
(SonarLintCache sonarLintCache) Methods inherited from class org.sonar.plugins.python.indexer.PythonIndexer
canBeFullyScannedWithoutParsing, canBePartiallyScannedWithoutParsing, packageName, projectLevelSymbolTable
-
Constructor Details
-
SonarLintPythonIndexer
public SonarLintPythonIndexer(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileSystem moduleFileSystem)
-
-
Method Details
-
buildOnce
public void buildOnce(org.sonar.api.batch.sensor.SensorContext context) - Specified by:
buildOnce
in classPythonIndexer
-
setSonarLintCache
- Overrides:
setSonarLintCache
in classPythonIndexer
-
getFileWithId
- Overrides:
getFileWithId
in classPythonIndexer
-
cacheContext
- Specified by:
cacheContext
in classPythonIndexer
-
process
public void process(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent) - Specified by:
process
in interfaceorg.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
-