Interface IssueCommentEvent
-
- All Superinterfaces:
BaseEvent
- All Known Implementing Classes:
ImmutableIssueCommentEvent
@Immutable public interface IssueCommentEvent extends BaseEvent
Triggered when an issue comment is created, edited, or deleted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
action()
The action that was performed on the comment.Optional<Changes>
changes()
The changes to the comment if the action was "edited".Comment
comment()
TheComment
itself.Issue
issue()
TheIssue
the comment belongs to.-
Methods inherited from interface com.spotify.github.v3.activity.events.BaseEvent
eventInstallation, repository, sender
-
-
-
-
Method Detail
-
action
@Nullable String action()
The action that was performed on the comment. Can be one of "created", "edited", or "deleted".
-
changes
Optional<Changes> changes()
The changes to the comment if the action was "edited".The GitHub API does also declare "changes" and "changes[body][from]" but it does not provide any examples of that data.
- See Also:
- "https://developer.github.com/v3/activity/events/types/#issuecommentevent"
-
-