Package b4j.core.session.bugzilla.json
Class BugzillaServerInfoParser
java.lang.Object
b4j.core.session.bugzilla.json.AbstractJsonParser
b4j.core.session.bugzilla.json.BugzillaServerInfoParser
- All Implemented Interfaces:
com.atlassian.jira.rest.client.internal.json.JsonObjectParser<ServerInfo>
,com.atlassian.jira.rest.client.internal.json.JsonParser<org.codehaus.jettison.json.JSONObject,ServerInfo>
public class BugzillaServerInfoParser extends AbstractJsonParser implements com.atlassian.jira.rest.client.internal.json.JsonObjectParser<ServerInfo>
Parses the server info for Bugzilla REST API.
- Since:
- 2.0
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description BugzillaServerInfoParser()
Constructor.BugzillaServerInfoParser(LazyRetriever lazyRetriever)
Constructor. -
Method Summary
Modifier and Type Method Description ServerInfo
parse(org.codehaus.jettison.json.JSONObject json)
Methods inherited from class b4j.core.session.bugzilla.json.AbstractJsonParser
checkError, debug, getError, getLazyRetriever, getResult, getResultAsArray
-
Constructor Details
-
BugzillaServerInfoParser
public BugzillaServerInfoParser()Constructor. -
BugzillaServerInfoParser
Constructor.
-
-
Method Details
-
parse
public ServerInfo 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,ServerInfo>
- Throws:
org.codehaus.jettison.json.JSONException
-