Class AbstractEslintSensor

    • Field Detail

      • context

        protected org.sonar.api.batch.sensor.SensorContext context
      • contextUtils

        protected org.sonar.plugins.javascript.eslint.ContextUtils contextUtils
    • Method Detail

      • execute

        public void execute​(org.sonar.api.batch.sensor.SensorContext context)
        Specified by:
        execute in interface org.sonar.api.scanner.sensor.ProjectSensor
        Specified by:
        execute in interface org.sonar.api.batch.sensor.Sensor
      • logErrorOrWarn

        protected void logErrorOrWarn​(String msg,
                                      Throwable e)
      • analyzeFiles

        protected abstract void analyzeFiles​(List<org.sonar.api.batch.fs.InputFile> inputFiles)
                                      throws IOException
        Throws:
        IOException
      • getInputFiles

        protected abstract List<org.sonar.api.batch.fs.InputFile> getInputFiles()