- All Known Implementing Classes:
GHCommitComment,GHIssue,GHIssueComment,GHPullRequest,GHPullRequestReviewComment
public interface Reactable
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptioncreateReaction(ReactionContent content) Leaves a reaction to this object.voiddeleteReaction(GHReaction reaction) Delete a reaction from this object.List all the reactions left to this object.
-
Method Details
-
createReaction
Leaves a reaction to this object.- Parameters:
content- the content- Returns:
- the gh reaction
- Throws:
IOException- the io exception
-
deleteReaction
Delete a reaction from this object.- Parameters:
reaction- the reaction to delete- Throws:
IOException- the io exception
-
listReactions
PagedIterable<GHReaction> listReactions()List all the reactions left to this object.- Returns:
- the paged iterable
-