org.sonar.plugins.python.xunit
Class PythonXunitSensor

java.lang.Object
  extended by org.sonar.plugins.python.PythonReportSensor
      extended by org.sonar.plugins.python.xunit.PythonXunitSensor
All Implemented Interfaces:
org.sonar.api.batch.CheckProject, org.sonar.api.batch.Sensor, org.sonar.api.BatchComponent, org.sonar.api.BatchExtension, org.sonar.api.Extension

public class PythonXunitSensor
extends PythonReportSensor


Field Summary
static String DEFAULT_REPORT_PATH
           
static String REPORT_PATH_KEY
           
 
Fields inherited from class org.sonar.plugins.python.PythonReportSensor
conf, fileSystem, LOG
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
PythonXunitSensor(org.sonar.api.config.Settings conf, Python lang, org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem)
           
 
Method Summary
protected  String defaultReportPath()
           
 Class dependsUponCoverageSensors()
           
protected  void processReport(org.sonar.api.resources.Project project, org.sonar.api.batch.SensorContext context, File report)
           
protected  String reportPathKey()
           
 
Methods inherited from class org.sonar.plugins.python.PythonReportSensor
analyse, getReports, handleNoReportsCase, shouldExecuteOnProject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

PythonXunitSensor

public PythonXunitSensor(org.sonar.api.config.Settings conf,
                         Python lang,
                         org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem)
Method Detail

dependsUponCoverageSensors

public Class dependsUponCoverageSensors()

reportPathKey

protected String reportPathKey()
Overrides:
reportPathKey in class PythonReportSensor

defaultReportPath

protected String defaultReportPath()
Overrides:
defaultReportPath in class PythonReportSensor

processReport

protected void processReport(org.sonar.api.resources.Project project,
                             org.sonar.api.batch.SensorContext context,
                             File report)
                      throws XMLStreamException
Overrides:
processReport in class PythonReportSensor
Throws:
XMLStreamException


Copyright © 2011-2014 SonarSource and Waleri Enns. All Rights Reserved.