public class RepositoryCachingFacadeImpl extends Object implements RepositoryCachingFacade
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
getOpenBranches(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData)
Retrieve open branches from the given repository.
|
List<VcsPullRequest> |
getOpenPullRequests(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
void |
invalidate(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
void |
invalidate(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
@NotNull public List<VcsBranch> getOpenBranches(@NotNull VcsBranchDetector branchDetector, @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 List<VcsPullRequest> getOpenPullRequests(@NotNull VcsPullRequestDetector pullRequestDetector, @NotNull VcsRepositoryData repositoryData) throws RepositoryException
getOpenPullRequests
in interface RepositoryCachingFacade
RepositoryException
public void invalidate(VcsBranchDetector branchDetector, VcsRepositoryData repositoryData)
invalidate
in interface RepositoryCachingFacade
public void invalidate(VcsPullRequestDetector pullRequestDetector, VcsRepositoryData repositoryData)
invalidate
in interface RepositoryCachingFacade
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.