public interface PullRequestDetectionService
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
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.
|
boolean |
schedulePullRequestDetectionForChain(ImmutableChain chain)
Registers PR detection request for a given Chain.
|
boolean schedulePullRequestDetectionForChain(@NotNull ImmutableChain chain)
chain
- to be detected for pull requests@NotNull List<VcsPullRequest> getOpenPullRequests(@NotNull ImmutableChain chain, @NotNull VcsRepositoryData planRepositoryDefinition) throws Exception
chain
- to find pull requests for.Exception
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.