Package b4j.core.session.bugzilla.json
Class BugzillaProductParser
java.lang.Object
b4j.core.session.bugzilla.json.AbstractJsonParser
b4j.core.session.bugzilla.json.BugzillaProductParser
- All Implemented Interfaces:
com.atlassian.jira.rest.client.internal.json.JsonObjectParser<java.lang.Iterable<Project>>
,com.atlassian.jira.rest.client.internal.json.JsonParser<org.codehaus.jettison.json.JSONObject,java.lang.Iterable<Project>>
public class BugzillaProductParser extends AbstractJsonParser implements com.atlassian.jira.rest.client.internal.json.JsonObjectParser<java.lang.Iterable<Project>>
Parses the product for Bugzilla REST API.
- Since:
- 2.0
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description BugzillaProductParser()
Constructor.BugzillaProductParser(LazyRetriever lazyRetriever)
Constructor. -
Method Summary
Modifier and Type Method Description java.lang.Iterable<Project>
parse(org.codehaus.jettison.json.JSONObject json)
Project
parseSingle(org.codehaus.jettison.json.JSONObject json)
Methods inherited from class b4j.core.session.bugzilla.json.AbstractJsonParser
checkError, debug, getError, getLazyRetriever, getResult, getResultAsArray
-
Constructor Details
-
BugzillaProductParser
public BugzillaProductParser()Constructor. -
BugzillaProductParser
Constructor.
-
-
Method Details
-
parse
public java.lang.Iterable<Project> parse(org.codehaus.jettison.json.JSONObject json) throws org.codehaus.jettison.json.JSONException- Specified by:
parse
in interfacecom.atlassian.jira.rest.client.internal.json.JsonParser<org.codehaus.jettison.json.JSONObject,java.lang.Iterable<Project>>
- Throws:
org.codehaus.jettison.json.JSONException
-
parseSingle
public Project parseSingle(org.codehaus.jettison.json.JSONObject json) throws org.codehaus.jettison.json.JSONException- Throws:
org.codehaus.jettison.json.JSONException
-