@TransactionAware public class

PullRequestEvent

extends ApplicationEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.pull.PullRequestEvent
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base type for all pull request related events.

This event is internally audited with a LOW priority.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Protected Constructors
PullRequestEvent(Object source, PullRequest pullRequest, PullRequestAction action)
Constructs a new PullRequestEvent.
Public Methods
@Nonnull PullRequestAction getAction()
@Nonnull PullRequest getPullRequest()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Protected Constructors

protected PullRequestEvent (Object source, PullRequest pullRequest, PullRequestAction action)

Constructs a new PullRequestEvent. All parameters are required.

Parameters
source the component raising the event
pullRequest the affected pull request
action the action performed on the pull request

Public Methods

@Nonnull public PullRequestAction getAction ()

@Nonnull public PullRequest getPullRequest ()