@AsynchronousPreferred public class

CommitDiscussionParticipantsUpdatedEvent

extends CommitDiscussionEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.RepositoryEvent
         ↳ com.atlassian.stash.event.commit.CommitDiscussionEvent
           ↳ com.atlassian.stash.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<StashUser> added, Set<StashUser> removed)
Public Methods
@Nonnull Set<StashUser> getAddedParticipants()
@Nonnull Set<StashUser> getRemovedParticipants()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.commit.CommitDiscussionEvent
From class com.atlassian.stash.event.RepositoryEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

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

Public Methods

@Nonnull public Set<StashUser> getAddedParticipants ()

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

@Nonnull public Set<StashUser> getRemovedParticipants ()

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