Class PullRequestReviewersUpdatedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestReviewersUpdatedEvent
- All Implemented Interfaces:
- Serializable
An event raised when the reviewers of a pull request are updated.
 
 getAddedReviewers() and getRemovedReviewers() allow tracking who has been
 added and
 removed, respectively.
- Since:
- 4.4
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionPullRequestReviewersUpdatedEvent(Object source, PullRequest pullRequest, Set<ApplicationUser> added, Set<ApplicationUser> removed) 
- 
Method SummaryModifier and TypeMethodDescriptionMethods inherited from class com.atlassian.bitbucket.event.pull.PullRequestEventgetAction, getPullRequestMethods inherited from class com.atlassian.bitbucket.event.ApplicationEventgetDate, getUserMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
PullRequestReviewersUpdatedEventpublic PullRequestReviewersUpdatedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Set<ApplicationUser> added, @Nonnull Set<ApplicationUser> removed) 
 
- 
- 
Method Details- 
getAddedReviewers- Returns:
- the set of new or existing participants assigned to the reviewer role
 
- 
getRemovedReviewers- Returns:
- the set of participants unassigned from the reviewer role
 
 
-