Class JiraJSONResponse

  • Direct Known Subclasses:
    JiraIssue, JiraQueryResults, JiraServerInfo, JiraUserQueryResults

    public class JiraJSONResponse
    extends java.lang.Object
    An instance of this class represents a Jira JSON object, and the parser hooks needed to understand it. If we needed streaming anywhere, this would implement org.json.simple.parser.ContentHandler, where we would extract the data from a JSON event stream. But since we don't need that functionality, instead we're just going to accept an already-parsed JSONObject. This class is meant to be overridden (selectively) by derived classes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object object  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void acceptJSONObject​(java.lang.Object object)
      Receive a parsed JSON object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • object

        protected java.lang.Object object
    • Constructor Detail

      • JiraJSONResponse

        public JiraJSONResponse()
    • Method Detail

      • acceptJSONObject

        public void acceptJSONObject​(java.lang.Object object)
        Receive a parsed JSON object.