@AsynchronousPreferred public class

CommitDiscussionParticipantsUpdatedEvent

extends CommitDiscussionEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RepositoryEvent
         ↳ com.atlassian.bitbucket.event.commit.CommitDiscussionEvent
           ↳ com.atlassian.bitbucket.event.commit.CommitDiscussionParticipantsUpdatedEvent

Class Overview

An event raised when the participants in a commit discussion change. For example, when a user posts their first comment on a commit, or replies to an existing comment, they are added as a participant and this event is raised.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
CommitDiscussionParticipantsUpdatedEvent(Object source, CommitDiscussion discussion, Set<ApplicationUser> added, Set<ApplicationUser> removed)
Public Methods
@Nonnull Set<ApplicationUser> getAddedParticipants()
@Nonnull Set<ApplicationUser> getRemovedParticipants()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.commit.CommitDiscussionEvent
From class com.atlassian.bitbucket.event.repository.RepositoryEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public CommitDiscussionParticipantsUpdatedEvent (Object source, CommitDiscussion discussion, Set<ApplicationUser> added, Set<ApplicationUser> removed)

Public Methods

@Nonnull public Set<ApplicationUser> getAddedParticipants ()

Returns
  • the set of users who have participated in the pull request for the first time

@Nonnull public Set<ApplicationUser> getRemovedParticipants ()

Returns
  • the set of users who are no longer participating in the pull request