java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.pull.PullRequestAction |
Enumerates the actions which can be taken on a pull request, defining the activities
that may occur. Each action may have an associated activity
type.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PullRequestAction | APPROVED | A user has approved a pull request
|
|||||||||
PullRequestAction | COMMENTED | A comment has been added, deleted, edited or replied to on
the pull request . |
|||||||||
PullRequestAction | DECLINED | The pull request has been rejected and declined without merging. |
|||||||||
PullRequestAction | DELETED | The pull request has been deleted. |
|||||||||
PullRequestAction | MERGED | The pull request has been accepted and merged to the target . |
|||||||||
PullRequestAction | OPENED | A new pull request has been opened. |
|||||||||
PullRequestAction | REOPENED | A previously declined pull request has been reopened. |
|||||||||
PullRequestAction | RESCOPED | The scope of the pull request has been changed and commits have been added or removed. |
|||||||||
PullRequestAction | REVIEWED | A user has finished reviewing the changes in a pull request . |
|||||||||
PullRequestAction | UNAPPROVED | A user has removed a approval from a pull request
|
|||||||||
PullRequestAction | UPDATED | The details of the pull request , such as title or description, have been updated. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
A user has approved a pull request
PullRequestActivity
PullRequestParticipantApprovedEvent
A comment has been added, deleted, edited or replied to
on
the pull request
.
The pull request
has been rejected and declined without merging.
PullRequestActivity
PullRequestDeclinedEvent
The pull request
has been deleted.
PullRequestDeletedEvent
Note: Since the pull request has been deleted, along with all of its activities and comments, this
action will never be returned by an activity
.
The pull request
has been accepted and merged to the target
.
PullRequestMergeActivity
PullRequestMergedEvent
A new pull request
has been opened.
PullRequestActivity
A previously declined pull request
has been reopened.
PullRequestActivity
PullRequestReopenedEvent
The scope of the pull request
has been changed and commits have been added or removed.
PullRequestRescopeActivity
PullRequestRescopedEvent
A user has finished reviewing the changes in a pull request
.
They have provided feedback which needs to be addressed before they can approve.
NOTE: This action does not create an activity
item.
A user has removed a approval from a pull request
PullRequestActivity
PullRequestParticipantUnapprovedEvent
The details of the pull request
, such as title or description, have been updated.
PullRequestActivity
PullRequestUpdatedEvent