Class HtmlSensor
- java.lang.Object
-
- org.sonar.plugins.javascript.eslint.AbstractEslintSensor
-
- org.sonar.plugins.javascript.eslint.HtmlSensor
-
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor
,org.sonar.api.scanner.sensor.ProjectSensor
public class HtmlSensor extends AbstractEslintSensor
-
-
Field Summary
Fields Modifier and Type Field Description static String
LANGUAGE
-
Fields inherited from class org.sonar.plugins.javascript.eslint.AbstractEslintSensor
context, contextUtils, eslintBridgeServer
-
-
Constructor Summary
Constructors Constructor Description HtmlSensor(JavaScriptChecks checks, EslintBridgeServer eslintBridgeServer, AnalysisWarningsWrapper analysisWarnings, Monitoring monitoring, AnalysisProcessor processAnalysis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
analyzeFiles(List<org.sonar.api.batch.fs.InputFile> inputFiles)
void
describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
protected List<org.sonar.api.batch.fs.InputFile>
getInputFiles()
-
Methods inherited from class org.sonar.plugins.javascript.eslint.AbstractEslintSensor
execute, logErrorOrWarn
-
-
-
-
Field Detail
-
LANGUAGE
public static final String LANGUAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HtmlSensor
public HtmlSensor(JavaScriptChecks checks, EslintBridgeServer eslintBridgeServer, AnalysisWarningsWrapper analysisWarnings, Monitoring monitoring, AnalysisProcessor processAnalysis)
-
-
Method Detail
-
describe
public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
-
analyzeFiles
protected void analyzeFiles(List<org.sonar.api.batch.fs.InputFile> inputFiles) throws IOException
- Specified by:
analyzeFiles
in classAbstractEslintSensor
- Throws:
IOException
-
getInputFiles
protected List<org.sonar.api.batch.fs.InputFile> getInputFiles()
- Specified by:
getInputFiles
in classAbstractEslintSensor
-
-