Package org.sonar.plugins.python.flake8
Class Flake8Sensor
- java.lang.Object
-
- org.sonar.plugins.python.ExternalIssuesSensor
-
- org.sonar.plugins.python.flake8.Flake8Sensor
-
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor,org.sonar.api.scanner.sensor.ProjectSensor
public class Flake8Sensor extends ExternalIssuesSensor
-
-
Field Summary
Fields Modifier and Type Field Description static StringLINTER_KEYstatic StringLINTER_NAMEstatic StringREPORT_PATH_KEY
-
Constructor Summary
Constructors Constructor Description Flake8Sensor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidimportReport(File reportPath, org.sonar.api.batch.sensor.SensorContext context, Set<String> unresolvedInputFiles)protected StringlinterName()protected org.sonar.api.utils.log.Loggerlogger()protected StringreportPathKey()-
Methods inherited from class org.sonar.plugins.python.ExternalIssuesSensor
describe, execute
-
-
-
-
Field Detail
-
LINTER_NAME
public static final String LINTER_NAME
- See Also:
- Constant Field Values
-
LINTER_KEY
public static final String LINTER_KEY
- See Also:
- Constant Field Values
-
REPORT_PATH_KEY
public static final String REPORT_PATH_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
importReport
protected void importReport(File reportPath, org.sonar.api.batch.sensor.SensorContext context, Set<String> unresolvedInputFiles)
- Specified by:
importReportin classExternalIssuesSensor
-
linterName
protected String linterName()
- Specified by:
linterNamein classExternalIssuesSensor
-
reportPathKey
protected String reportPathKey()
- Specified by:
reportPathKeyin classExternalIssuesSensor
-
logger
protected org.sonar.api.utils.log.Logger logger()
- Specified by:
loggerin classExternalIssuesSensor
-
-