- 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.void
deleteReaction
(GHReaction reaction) Delete a reaction from this object.List all the reactions left to this object.
-
Method Details
-
listReactions
PagedIterable<GHReaction> listReactions()List all the reactions left to this object.- Returns:
- the paged iterable
-
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
-