Class PullComment.Smart

    • Constructor Detail

      • Smart

        public Smart​(PullComment pcomment)
        Public ctor.
        Parameters:
        pcomment - Pull comment
    • Method Detail

      • identifier

        public String identifier()
                          throws IOException
        Get its id value.
        Returns:
        Id of pull comment
        Throws:
        IOException - If there is any I/O problem
      • identifier

        public void identifier​(String value)
                        throws IOException
        Change its id value.
        Parameters:
        value - Id of pull comment
        Throws:
        IOException - If there is any I/O problem
      • commitId

        public String commitId()
                        throws IOException
        Get its commit id value.
        Returns:
        Commit id of pull comment
        Throws:
        IOException - If there is any I/O problem
      • commitId

        public void commitId​(String value)
                      throws IOException
        Change its commit id value.
        Parameters:
        value - Commit id of pull comment
        Throws:
        IOException - If there is any I/O problem
      • url

        public String url()
                   throws IOException
        Get its url value.
        Returns:
        Url of pull comment
        Throws:
        IOException - If there is any I/O problem
      • reply

        public int reply()
                  throws IOException
        Get its reply id value.
        Returns:
        Reply id of pull comment
        Throws:
        IOException - If there is any I/O problem
      • url

        public void url​(String value)
                 throws IOException
        Change its url value.
        Parameters:
        value - Url of pull comment
        Throws:
        IOException - If there is any I/O problem
      • body

        public String body()
                    throws IOException
        Get its body value.
        Returns:
        Url of pull comment
        Throws:
        IOException - If there is any I/O problem
      • body

        public void body​(String value)
                  throws IOException
        Change its body value.
        Parameters:
        value - Url of pull comment
        Throws:
        IOException - If there is any I/O problem
      • pull

        public Pull pull()
        Description copied from interface: PullComment
        Pull we're in.
        Specified by:
        pull in interface PullComment
        Returns:
        Pull
      • number

        public int number()
        Description copied from interface: PullComment
        Get its number.
        Specified by:
        number in interface PullComment
        Returns:
        Pull comment number
      • react

        public void react​(Reaction reaction)
        Description copied from interface: PullComment
        Adds the reaction to the pull comment.
        Specified by:
        react in interface PullComment
        Parameters:
        reaction - Reaction to be added.
      • patch

        public void patch​(javax.json.JsonObject json)
                   throws IOException
        Description copied from interface: JsonPatchable
        Patch using this JSON object.
        Specified by:
        patch in interface JsonPatchable
        Parameters:
        json - JSON object
        Throws:
        IOException - If there is any I/O problem
      • json

        public javax.json.JsonObject json()
                                   throws IOException
        Description copied from interface: JsonReadable
        Describe it in a JSON object.
        Specified by:
        json in interface JsonReadable
        Returns:
        JSON object
        Throws:
        IOException - If there is any I/O problem
      • author

        public String author()
                      throws IOException
        Get its author.
        Returns:
        Pull comment author
        Throws:
        IOException - If there is any I/O problem