Class AbstractBridgeSensor

java.lang.Object
org.sonar.plugins.javascript.analysis.AbstractBridgeSensor
All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor, org.sonar.api.scanner.sensor.ProjectSensor
Direct Known Subclasses:
CssRuleSensor, HtmlSensor, JsTsSensor, YamlSensor

public abstract class AbstractBridgeSensor extends Object implements org.sonar.api.batch.sensor.Sensor
  • Field Details

  • Constructor Details

    • AbstractBridgeSensor

      protected AbstractBridgeSensor(BridgeServer bridgeServer, String lang)
  • Method Details

    • execute

      public void execute(org.sonar.api.batch.sensor.SensorContext sensorContext)
      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
      Analyze the passed input files, and return the list of persisted issues.
      Throws:
      IOException
    • getInputFiles

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