public class SonarQubeDiffParser extends SonarQubeParser
| Constructor and Description |
|---|
SonarQubeDiffParser() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accepts(org.json.JSONObject object)
Returns whether this parser accepts the specified JSON object as valid input.
|
boolean |
filterIssue(org.json.JSONObject issue)
Decides whether or not to parse and add an issue.
|
protected String |
getModulePath(org.json.JSONObject component,
org.json.JSONObject issue)
Extracts the module path from the specified JSON objects.
|
accepts, parse, parseModulePathisXmlFileprotected boolean accepts(org.json.JSONObject object)
SonarQubeParseraccepts in class SonarQubeParserobject - the JSON object to analysetrue if this parser accepts this object as valid input, false otherwisepublic boolean filterIssue(org.json.JSONObject issue)
SonarQubeParserfilterIssue in class SonarQubeParserissue - the issue to filter.true if the issue is to be parsed and added, otherwise falseprotected String getModulePath(org.json.JSONObject component, org.json.JSONObject issue)
SonarQubeParsergetModulePath in class SonarQubeParsercomponent - the componentissue - the issueCopyright © 2018. All rights reserved.