Modifier and Type | Method and Description |
---|---|
VcsPullRequest |
PlanBranchPullRequestImpl.getVcsPullRequest() |
VcsPullRequest |
PlanBranchPullRequest.getVcsPullRequest() |
Constructor and Description |
---|
PlanBranchPullRequestImpl(long id,
ImmutableChainBranch chainBranch,
VcsPullRequest vcsPullRequest) |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableVcsPullRequest
Mutable pull request entity.
|
Modifier and Type | Class and Description |
---|---|
class |
VcsPullRequestImpl |
Modifier and Type | Method and Description |
---|---|
VcsPullRequest |
VcsPullRequestServiceImpl.createPullRequest(String pullRequestKey,
Long sourceRepositoryId,
String source,
long targetRepositoryId,
String target,
boolean isOpen) |
VcsPullRequest |
VcsPullRequestService.createPullRequest(String pullRequestKey,
Long sourceRepositoryId,
String sourceBranch,
long targetRepositoryId,
String targetBranch,
boolean isOpen)
Create new pull request and save it.
|
VcsPullRequest |
VcsPullRequestServiceImpl.findByRepositoryAndKey(long targetRepositoryId,
String pullRequestKey) |
VcsPullRequest |
VcsPullRequestService.findByRepositoryAndKey(long targetRepositoryId,
String pullRequestKey)
Search pull request by pull request key (unique on repository level) and target repository id
|
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
VcsPullRequestServiceImpl.findOpenByRepository(long targetRepositoryId) |
List<VcsPullRequest> |
VcsPullRequestService.findOpenByRepository(long targetRepositoryId)
Search open pull requests by target repository and status.
|
List<VcsPullRequest> |
PullRequestDetectionServiceImpl.getOpenPullRequests(ImmutableChain chain,
VcsRepositoryData planRepositoryDefinition) |
List<VcsPullRequest> |
PullRequestDetectionService.getOpenPullRequests(ImmutableChain chain,
VcsRepositoryData planRepositoryDefinition)
Returns a list of currently open pull requests for the chain's default repository
List ordering determined by underlying repository (preference is for native ordering e.g.
|
Modifier and Type | Method and Description |
---|---|
void |
VcsPullRequestServiceImpl.closePullRequest(VcsPullRequest pr) |
void |
VcsPullRequestService.closePullRequest(VcsPullRequest pullRequest)
Mark pull request as closed.
|
void |
VcsPullRequestServiceImpl.updatePullRequest(VcsPullRequest pr,
Long sourceRepositoryId,
String source,
String target,
boolean isOpen) |
void |
VcsPullRequestService.updatePullRequest(VcsPullRequest pullRequest,
Long sourceRepositoryId,
String source,
String target,
boolean isOpen)
Modify pull request.
|
Modifier and Type | Method and Description |
---|---|
void |
VcsPullRequestServiceImpl.closePullRequestsClosedInRepository(long targetRepositoryId,
List<VcsPullRequest> openPullRequests) |
void |
VcsPullRequestService.closePullRequestsClosedInRepository(long targetRepositoryId,
List<VcsPullRequest> openPullRequests)
Synchronize the status of pull requests in DB and in remote repository
|
Constructor and Description |
---|
VcsPullRequestImpl(VcsPullRequest pullRequest) |
Modifier and Type | Method and Description |
---|---|
VcsPullRequest |
VcsPullRequestCreatedEvent.getPullRequest() |
VcsPullRequest |
VcsPullRequestUpdatedEvent.getPullRequestAfterChanges() |
VcsPullRequest |
VcsPullRequestUpdatedEvent.getPullRequestBeforeChanges() |
Constructor and Description |
---|
VcsPullRequestCreatedEvent(VcsPullRequest pullRequest) |
VcsPullRequestUpdatedEvent(VcsPullRequest pullRequestBeforeChanges,
VcsPullRequest pullRequestAfterChanges) |
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
BitbucketCloudPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
BitbucketServerPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
RepositoryCachingFacadeImpl.getOpenPullRequests(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
List<VcsPullRequest> |
RepositoryCachingFacade.getOpenPullRequests(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
VcsPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData)
List of open pull requests that are discovered in the repository. |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.