public class RepositoryCachingFacadeImpl extends Object implements RepositoryCachingFacade
Modifier and Type | Method and Description |
---|---|
@NotNull List<VcsBranch> |
getOpenBranches(@NotNull VcsBranchDetector branchDetector,
@NotNull VcsRepositoryData repositoryData)
Retrieve open branches from the given repository.
|
@NotNull List<VcsPullRequest> |
getOpenPullRequests(@NotNull VcsPullRequestDetector pullRequestDetector,
@NotNull VcsRepositoryData repositoryData) |
@NotNull public @NotNull List<VcsBranch> getOpenBranches(@NotNull @NotNull VcsBranchDetector branchDetector, @NotNull @NotNull VcsRepositoryData repositoryData) throws RepositoryException
RepositoryCachingFacade
List
of open branches that are discovered in the repository. Returns empty collection if no branches at
all (can that happen?).
An open branch is a branch that is considered 'open' by underlying VCS - it has nothing to do with the actual
development on that branch (recent commits or so).getOpenBranches
in interface RepositoryCachingFacade
List
of branch names. May be empty.RepositoryException
@NotNull public @NotNull List<VcsPullRequest> getOpenPullRequests(@NotNull @NotNull VcsPullRequestDetector pullRequestDetector, @NotNull @NotNull VcsRepositoryData repositoryData) throws RepositoryException
getOpenPullRequests
in interface RepositoryCachingFacade
RepositoryException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.