public interface RepositoryCachingFacade
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
getOpenBranches(BranchDetectionCapableRepository repository,
String context)
Deprecated.
since 5.14 use
getOpenBranches(VcsBranchDetector, VcsRepositoryData) |
List<VcsBranch> |
getOpenBranches(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
List<VcsPullRequest> |
getOpenPullRequests(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
void |
invalidate(BranchDetectionCapableRepository repository,
String context)
Deprecated.
since 5.14 use
invalidate(VcsBranchDetector, VcsRepositoryData) |
void |
invalidate(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
void |
invalidate(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
@NotNull @Deprecated List<VcsBranch> getOpenBranches(BranchDetectionCapableRepository repository, @Nullable String context) throws RepositoryException
getOpenBranches(VcsBranchDetector, VcsRepositoryData)
Set
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).repository
- to check for branchescontext
- For svn its the branchRoot, not sure what its for otherwise.List
of branch names. May be empty.RepositoryException
@NotNull List<VcsBranch> getOpenBranches(@NotNull VcsBranchDetector branchDetector, @NotNull VcsRepositoryData repositoryData) throws RepositoryException
RepositoryException
@NotNull List<VcsPullRequest> getOpenPullRequests(@NotNull VcsPullRequestDetector pullRequestDetector, @NotNull VcsRepositoryData repositoryData) throws RepositoryException
RepositoryException
@Deprecated void invalidate(BranchDetectionCapableRepository repository, @Nullable String context)
invalidate(VcsBranchDetector, VcsRepositoryData)
repository
- where to check for branchescontext
- For svn its the branchRoot, not sure what its for otherwise.void invalidate(VcsBranchDetector branchDetector, VcsRepositoryData repositoryData)
void invalidate(VcsPullRequestDetector pullRequestDetector, VcsRepositoryData repositoryData)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.