Interface Reactable

All Known Implementing Classes:
GHCommitComment, GHIssue, GHIssueComment, GHPullRequest, GHPullRequestReviewComment

public interface Reactable
Those GHObjects that can have reactions.
Author:
Kohsuke Kawaguchi
  • Method Details

    • listReactions

      PagedIterable<GHReaction> listReactions()
      List all the reactions left to this object.
      Returns:
      the paged iterable
    • createReaction

      GHReaction createReaction(ReactionContent content) throws IOException
      Leaves a reaction to this object.
      Parameters:
      content - the content
      Returns:
      the gh reaction
      Throws:
      IOException - the io exception
    • deleteReaction

      void deleteReaction(GHReaction reaction) throws IOException
      Delete a reaction from this object.
      Parameters:
      reaction - the reaction to delete
      Throws:
      IOException - the io exception