@AsynchronousPreferred public class

PullRequestDeletedEvent

extends PullRequestEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.pull.PullRequestEvent
         ↳ com.atlassian.bitbucket.event.pull.PullRequestDeletedEvent

Class Overview

Event that is raised when a pull request is deleted.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
PullRequestDeletedEvent(Object source, PullRequest pullRequest, Collection<Watcher> watchers)
Public Methods
Collection<Watcher> getWatchers()
Listeners of this event aren't able to call search(WatcherSearchRequest, PageRequest) to find watchers of the pull request because the pull request has already been deleted.
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.pull.PullRequestEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public PullRequestDeletedEvent (Object source, PullRequest pullRequest, Collection<Watcher> watchers)

Public Methods

public Collection<Watcher> getWatchers ()

Listeners of this event aren't able to call search(WatcherSearchRequest, PageRequest) to find watchers of the pull request because the pull request has already been deleted.

Returns
  • the watchers of the pull request that was deleted