Class ParasoftParser

java.lang.Object
edu.hm.hafner.analysis.IssueParser
com.parasoft.findings.jenkins.parser.ParasoftParser
All Implemented Interfaces:
Serializable

public class ParasoftParser extends edu.hm.hafner.analysis.IssueParser
A parser for Parasoft files containing xml report.
See Also:
  • Field Summary

    Fields inherited from class edu.hm.hafner.analysis.IssueParser

    ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParasoftParser(Properties properties, String workspace)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    edu.hm.hafner.analysis.Report
    convert(Iterator<com.parasoft.findings.utils.results.violations.IViolation> importResults, com.parasoft.findings.utils.results.xml.RulesImportHandler rulesImportHandler)
     
     
    edu.hm.hafner.analysis.Report
    parse(edu.hm.hafner.analysis.ReaderFactory readerFactory)
     

    Methods inherited from class edu.hm.hafner.analysis.IssueParser

    accepts, equalsIgnoreCase, isXmlFile, parseFile

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParasoftParser

      public ParasoftParser(Properties properties, String workspace)
  • Method Details

    • getProperties

      public Properties getProperties()
    • parse

      public edu.hm.hafner.analysis.Report parse(edu.hm.hafner.analysis.ReaderFactory readerFactory) throws edu.hm.hafner.analysis.ParsingException, edu.hm.hafner.analysis.ParsingCanceledException
      Specified by:
      parse in class edu.hm.hafner.analysis.IssueParser
      Throws:
      edu.hm.hafner.analysis.ParsingException
      edu.hm.hafner.analysis.ParsingCanceledException
    • convert

      public edu.hm.hafner.analysis.Report convert(Iterator<com.parasoft.findings.utils.results.violations.IViolation> importResults, com.parasoft.findings.utils.results.xml.RulesImportHandler rulesImportHandler)