Modifier and Type | Method and Description |
---|---|
T |
CommentableVisitor.visit(PullRequest pullRequest) |
T |
AbstractCommentableVisitor.visit(PullRequest pullRequest) |
Constructor and Description |
---|
Builder(PullRequest pullRequest)
Creates a new
Builder with defaults appropriate for retrieving the commits which are included by
the specified PullRequest . |
Constructor and Description |
---|
Builder(PullRequest pullRequest)
Convenience constructor for creating a
Builder using the refs from a provided PullRequest . |
Modifier and Type | Method and Description |
---|---|
<T,E extends Exception> |
PullRequestLock.withLock(PullRequest pullRequest,
Operation<T,E> operation)
Performs the provided
operation while holding a lock on the specified pull request . |
Modifier and Type | Method and Description |
---|---|
PullRequest |
PullRequestEvent.getPullRequest() |
Modifier and Type | Method and Description |
---|---|
PullRequest |
SimplePullRequestMergeHookRequest.getPullRequest() |
PullRequest |
PullRequestMergeHookRequest.getPullRequest() |
Constructor and Description |
---|
Builder(PullRequest pullRequest) |
Modifier and Type | Method and Description |
---|---|
Predicate<PullRequest> |
PermissionPredicateFactory.createPullRequestAccessiblePredicate()
Retrieves a
Predicate which applies a check to ensure the current user can access PullRequest s. |
Predicate<PullRequest> |
PermissionPredicateFactory.createPullRequestPermissionPredicate(Permission permission)
Retrieves a
Predicate which applies a check to ensure the current user has the specified permission with
regards to PullRequest s. |
Modifier and Type | Method and Description |
---|---|
PullRequest |
PullRequestService.create(PullRequestCreateRequest request)
Creates a pull request from the supplied details.
|
PullRequest |
PullRequestService.decline(PullRequestDeclineRequest request)
Declines a pull request.
|
PullRequest |
PullRequestSupplier.getById(int repositoryId,
long pullRequestId)
Retrieves a pull request by its ID, within the specified repository.
|
PullRequest |
PullRequestService.getById(int repositoryId,
long pullRequestId)
Retrieves a pull request by its ID, within the specified repository.
|
PullRequest |
DuplicatePullRequestException.getExistingPullRequest() |
PullRequest |
PullRequestActivity.getPullRequest() |
PullRequest |
PullRequestParticipant.getPullRequest() |
PullRequest |
PullRequestDeletionDisabledException.getPullRequest() |
PullRequest |
PullRequestTaskSearchRequest.getPullRequest() |
PullRequest |
PullRequestOutOfDateException.getPullRequest()
Retrieves the current state for the pull request, if it was available when the exception was thrown.
|
PullRequest |
PullRequestService.merge(PullRequestMergeRequest request)
Merges a pull request.
|
PullRequest |
PullRequestService.reopen(int repositoryId,
long pullRequestId,
int version)
Reopens a pull request.
|
PullRequest |
PullRequestService.update(PullRequestUpdateRequest request)
Updates a pull request's title, description, and participants.
|
Modifier and Type | Method and Description |
---|---|
Page<PullRequest> |
PullRequestService.search(PullRequestSearchRequest request,
PageRequest pageRequest)
Finds a single page of pull requests depending on the
request passed in. |
Page<PullRequest> |
PullRequestService.searchByCommit(PullRequestCommitSearchRequest request,
PageRequest pageRequest)
Finds a single page of pull requests containing a specified commit which match the given
search criteria . |
Modifier and Type | Method and Description |
---|---|
Commit |
PullRequestCommitEnricher.enrich(PullRequest pullRequest,
Commit commit,
Collection<String> propertyKeys)
Enrich a single commit with properties from the
CommitIndex . |
Page<Commit> |
PullRequestCommitEnricher.enrichPage(PullRequest pullRequest,
Page<Commit> page,
Collection<String> propertyKeys)
Enrich a page of commits with properties from the
CommitIndex . |
Constructor and Description |
---|
AbstractBuilder(PullRequest pullRequest) |
Builder(PullRequest pullRequest) |
Builder(PullRequest pullRequest) |
Builder(PullRequest pullRequest) |
Builder(PullRequest pullRequest) |
Builder(PullRequest pullRequest) |
Builder(PullRequest pullRequest) |
Builder(PullRequest pullRequest,
int version) |
Builder(PullRequest pullRequest,
int version) |
Builder(PullRequest pullRequest,
String path) |
DuplicatePullRequestException(PullRequest pullRequest,
KeyedMessage message) |
PullRequestDeletionDisabledException(KeyedMessage message,
PullRequest pullRequest) |
PullRequestOutOfDateException(KeyedMessage message,
PullRequest pullRequest,
int expectedVersion)
Constructs a
PullRequestOutOfDateException , providing the current PullRequest and
the version that was expected . |
PullRequestOutOfDateException(KeyedMessage message,
Throwable cause,
PullRequest pullRequest,
int expectedVersion)
Constructs a
PullRequestOutOfDateException , providing the current PullRequest and
the version that was expected . |
Modifier and Type | Method and Description |
---|---|
ScmPullRequestCommandFactory |
ScmService.getPullRequestCommandFactory(PullRequest pullRequest)
Retrieves an
ScmPullRequestCommandFactory , used to create commands tailored for use
operating on pull requests. |
Modifier and Type | Method and Description |
---|---|
Command<PullRequestMergeResult> |
ScmPullRequestCommandFactory.tryMerge(PullRequest pullRequest)
Attempt to merge the pull request to determine what the expected result of actually merging it would be.
|
Modifier and Type | Method and Description |
---|---|
T |
WatchableVisitor.visit(PullRequest pullRequest) |
Copyright © 2019 Atlassian. All rights reserved.