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
  • 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 class PythonIndexer
    • setSonarLintCache

      public void setSonarLintCache(@Nullable SonarLintCache sonarLintCache)
      Overrides:
      setSonarLintCache in class PythonIndexer
    • getFileWithId

      public org.sonar.api.batch.fs.InputFile getFileWithId(String fileId)
      Overrides:
      getFileWithId in class PythonIndexer
    • cacheContext

      public CacheContext cacheContext()
      Specified by:
      cacheContext in class PythonIndexer
    • process

      public void process(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent)
      Specified by:
      process in interface org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener