Class ParasoftParser

  • All Implemented Interfaces:
    Serializable

    public class ParasoftParser
    extends edu.hm.hafner.analysis.IssueParser
    A parser for Parasoft files containing xml report.
    See Also:
    Serialized Form
    • 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 Detail

      • ParasoftParser

        public ParasoftParser​(Properties properties,
                              String workspace)
    • Method Detail

      • 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)