Package edu.hm.hafner.analysis.parser
Class BrakemanParser
- java.lang.Object
-
- edu.hm.hafner.analysis.IssueParser
-
- edu.hm.hafner.analysis.parser.JsonIssueParser
-
- edu.hm.hafner.analysis.parser.BrakemanParser
-
- All Implemented Interfaces:
Serializable
public class BrakemanParser extends JsonIssueParser
A parser for Brakeman JSON output.- Author:
- Justin Collins
- See Also:
- Brakeman, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BrakemanParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidparseJsonObject(Report report, org.json.JSONObject jsonReport, IssueBuilder issueBuilder)Parses the specified JSON object and populates the provided report with all issues.-
Methods inherited from class edu.hm.hafner.analysis.parser.JsonIssueParser
accepts, parse, parseJsonArray
-
Methods inherited from class edu.hm.hafner.analysis.IssueParser
equalsIgnoreCase, isXmlFile, parseFile
-
-
-
-
Method Detail
-
parseJsonObject
protected void parseJsonObject(Report report, org.json.JSONObject jsonReport, IssueBuilder issueBuilder)
Description copied from class:JsonIssueParserParses the specified JSON object and populates the provided report with all issues.- Overrides:
parseJsonObjectin classJsonIssueParser- Parameters:
report- the report to filljsonReport- the input JSON report given as JSON objectissueBuilder- build to be used to create issues
-
-