Package | Description |
---|---|
com.atlassian.bitbucket.event.pull | |
com.atlassian.bitbucket.pull |
Modifier and Type | Method and Description |
---|---|
PullRequestParticipant |
PullRequestParticipantStatusUpdatedEvent.getParticipant() |
Constructor and Description |
---|
PullRequestParticipantApprovedEvent(Object source,
PullRequest pullRequest,
PullRequestParticipant participant,
PullRequestParticipantStatus previous) |
PullRequestParticipantReviewedEvent(Object source,
PullRequest pullRequest,
PullRequestParticipant participant,
PullRequestParticipantStatus previous) |
PullRequestParticipantStatusUpdatedEvent(Object source,
PullRequest pullRequest,
PullRequestAction action,
PullRequestParticipant participant,
PullRequestParticipantStatus previousStatus)
Constructs a new
PullRequestEvent . |
PullRequestParticipantUnapprovedEvent(Object source,
PullRequest pullRequest,
PullRequestParticipant participant,
PullRequestParticipantStatus previous) |
Modifier and Type | Method and Description |
---|---|
PullRequestParticipant |
PullRequestService.addReviewer(int repositoryId,
long pullRequestId,
String username)
Adds the user specified by 'username' as
REVIEWER to the provided PR. |
PullRequestParticipant |
PullRequest.getAuthor() |
PullRequestParticipant |
PullRequestService.setReviewerStatus(int repositoryId,
long pullRequestId,
PullRequestParticipantStatus status)
Allows a user to update their participation status in a pull request.
|
Modifier and Type | Method and Description |
---|---|
Predicate<PullRequestParticipant> |
PullRequestRole.getFilter() |
Set<PullRequestParticipant> |
PullRequest.getParticipants() |
Page<PullRequestParticipant> |
PullRequestService.getParticipants(int repositoryId,
long pullRequestId,
PageRequest pageRequest)
Retrieves a page of the participants for a given pull request.
|
Set<PullRequestParticipant> |
PullRequest.getReviewers() |
Modifier and Type | Method and Description |
---|---|
int |
PullRequestParticipant.compareTo(PullRequestParticipant other)
Sorts participants first by status, then by name
|
Copyright © 2021 Atlassian. All rights reserved.