@AsynchronousPreferred public class PullRequestParticipantsUpdatedEvent extends PullRequestEvent
This may happen for any of the following reasons in isolation or in combination:
getAddedParticipants()
getAddedParticipants()
getRemovedParticipants()
Note: if a reviewer posts a comment, gives their approval or edits a pull request then any subsequent operation to remove them as a reviewer would merely relegate them from a reviewer to a participant and this event will not be fired for that change.
This event is internally audited with a LOW priority.
source
Constructor and Description |
---|
PullRequestParticipantsUpdatedEvent(Object source,
PullRequest pullRequest,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
getAddedParticipants() |
Set<ApplicationUser> |
getRemovedParticipants() |
getAction, getPullRequest
getDate, getUser
getSource, toString
public PullRequestParticipantsUpdatedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Set<ApplicationUser> added, @Nonnull Set<ApplicationUser> removed)
@Nonnull public Set<ApplicationUser> getAddedParticipants()
@Nonnull public Set<ApplicationUser> getRemovedParticipants()
Copyright © 2019 Atlassian. All rights reserved.