Package org.sonar.plugins.python.xunit
Class PythonXUnitSensor
- java.lang.Object
-
- org.sonar.plugins.python.PythonReportSensor
-
- org.sonar.plugins.python.xunit.PythonXUnitSensor
-
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor,org.sonar.api.scanner.sensor.ProjectSensor
public class PythonXUnitSensor extends PythonReportSensor
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_REPORT_PATHstatic StringREPORT_PATH_KEYstatic StringSKIP_DETAILS-
Fields inherited from class org.sonar.plugins.python.PythonReportSensor
conf
-
-
Constructor Summary
Constructors Constructor Description PythonXUnitSensor(org.sonar.api.config.Configuration conf, org.sonar.api.batch.fs.FileSystem fileSystem, AnalysisWarningsWrapper analysisWarnings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdefaultReportPath()protected voidprocessReports(org.sonar.api.batch.sensor.SensorContext context, List<File> reports)protected StringreportPathKey()-
Methods inherited from class org.sonar.plugins.python.PythonReportSensor
describe, execute, getReports
-
-
-
-
Field Detail
-
REPORT_PATH_KEY
public static final String REPORT_PATH_KEY
- See Also:
- Constant Field Values
-
DEFAULT_REPORT_PATH
public static final String DEFAULT_REPORT_PATH
- See Also:
- Constant Field Values
-
SKIP_DETAILS
public static final String SKIP_DETAILS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PythonXUnitSensor
public PythonXUnitSensor(org.sonar.api.config.Configuration conf, org.sonar.api.batch.fs.FileSystem fileSystem, AnalysisWarningsWrapper analysisWarnings)
-
-
Method Detail
-
reportPathKey
protected String reportPathKey()
- Specified by:
reportPathKeyin classPythonReportSensor
-
defaultReportPath
protected String defaultReportPath()
- Specified by:
defaultReportPathin classPythonReportSensor
-
processReports
protected void processReports(org.sonar.api.batch.sensor.SensorContext context, List<File> reports) throws XMLStreamException- Overrides:
processReportsin classPythonReportSensor- Throws:
XMLStreamException
-
-