public interface VcsPullRequestDetector extends IdentifyingExecutor<VcsPullRequestDetector>
Modifier and Type | Method and Description |
---|---|
List<VcsPullRequest> |
getOpenPullRequests(VcsRepositoryData repositoryData)
List of open pull requests that are discovered in the repository. |
default boolean |
usePollingForPullRequestDetection(VcsRepositoryData repositoryData)
Check if Bamboo needs to actively poll in order to detect new/deleted pull requests
for specific repository configuration.
|
getVcsIdForExecutor
default boolean usePollingForPullRequestDetection(@NotNull VcsRepositoryData repositoryData)
repositoryData
- repository@NotNull List<VcsPullRequest> getOpenPullRequests(@NotNull VcsRepositoryData repositoryData) throws RepositoryException
List
of open pull requests that are discovered in the repository. Used for monitoring repositories for new PRs.repositoryData
- repositoryList
of open pull requests. May be empty.RepositoryException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.