Class PullRequestReviewFinishedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestReviewEvent
com.atlassian.bitbucket.event.pull.PullRequestReviewFinishedEvent
- All Implemented Interfaces:
Serializable
Event that is raised when you finish a review on a pull request.
- Since:
- 7.7
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPullRequestReviewFinishedEvent
(Object source, int commentCount, PullRequest pullRequest, boolean addedComment, PullRequestParticipantStatus participantStatus) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Methods inherited from class com.atlassian.bitbucket.event.pull.PullRequestEvent
getAction, getPullRequest
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PullRequestReviewFinishedEvent
public PullRequestReviewFinishedEvent(@Nonnull Object source, int commentCount, @Nonnull PullRequest pullRequest, boolean addedComment, @Nullable PullRequestParticipantStatus participantStatus) - Parameters:
source
- the component raising the eventcommentCount
- the number of pending comments that got publishedpullRequest
- the affected pull requestaddedComment
- whether or not a general comment was added upon finishing the reviewparticipantStatus
- the reviewer's status change on the pull request
-
-
Method Details
-
getParticipantStatus
-
getCommentCount
public int getCommentCount() -
isAddedComment
public boolean isAddedComment()
-