Class SonarQubePythonIndexer

    • Field Detail

      • SONAR_CAN_SKIP_UNCHANGED_FILES_KEY

        public static final String SONAR_CAN_SKIP_UNCHANGED_FILES_KEY
        Describes if an optimized analysis of unchanged by skipping some rules is enabled. By default, the property is not set (null), leaving SQ/SC to decide whether to enable this behavior. Setting it to true or false, forces the behavior from the analyzer independently of the server.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SonarQubePythonIndexer

        public SonarQubePythonIndexer​(List<org.sonar.api.batch.fs.InputFile> inputFiles,
                                      CacheContext cacheContext)
    • Method Detail

      • buildOnce

        public void buildOnce​(org.sonar.api.batch.sensor.SensorContext context)
        Specified by:
        buildOnce in class PythonIndexer
      • computeGlobalSymbols

        public void computeGlobalSymbols​(List<org.sonar.api.batch.fs.InputFile> files,
                                         org.sonar.api.batch.sensor.SensorContext context)