@AsynchronousPreferred public class PullRequestDeletedEvent extends PullRequestEvent
source
Constructor and Description |
---|
PullRequestDeletedEvent(Object source,
PullRequest pullRequest,
Collection<Watcher> watchers) |
Modifier and Type | Method and Description |
---|---|
Collection<Watcher> |
getWatchers()
Listeners of this event aren't able to call
WatcherService.search(com.atlassian.bitbucket.watcher.WatcherSearchRequest, com.atlassian.bitbucket.util.PageRequest) to find watchers of the pull request
because the pull request has already been deleted. |
getAction, getPullRequest
getDate, getUser
getSource, toString
public PullRequestDeletedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Collection<Watcher> watchers)
public Collection<Watcher> getWatchers()
WatcherService.search(com.atlassian.bitbucket.watcher.WatcherSearchRequest, com.atlassian.bitbucket.util.PageRequest)
to find watchers of the pull request
because the pull request has already been deleted.Copyright © 2019 Atlassian. All rights reserved.