| java.lang.Object | ||||
| ↳ | java.util.EventObject | |||
| ↳ | com.atlassian.bitbucket.event.ApplicationEvent | |||
| ↳ | com.atlassian.bitbucket.event.pull.PullRequestEvent | |||
| ↳ | com.atlassian.bitbucket.event.pull.PullRequestApprovalEvent | |||
Known Direct Subclasses
|
This class is deprecated.
in 4.2 for removal in 5.0. Listen for PullRequestParticipantStatusUpdatedEvent instead.
Base class for events raised when a participant approves a pull
request, or withdraws their approval.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.EventObject
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
PullRequestApprovalEvent. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the
participant whose approval has been modified. | |||||||||||
|
[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
| |||||||||||
Constructs a new PullRequestApprovalEvent. All parameters are required.
| source | the component raising the event |
|---|---|
| participant | the participant who has modified their approval |
| pullRequest | the pull request |
| action | the action |
| IllegalArgumentException | if the provided action is not
APPROVED or
UNAPPROVED |
|---|---|
| NullPointerException | if the source, participant, pullRequest or
action provided is null
|
Retrieves the participant whose approval has been modified.