Package com.atlassian.bamboo.repository
Class RepositoryCachingFacadeImpl
java.lang.Object
com.atlassian.bamboo.repository.RepositoryCachingFacadeImpl
- All Implemented Interfaces:
RepositoryCachingFacade
A wrapper around calls to Repository methods that provides caching of method results.
-
Method Summary
Modifier and TypeMethodDescriptiongetOpenBranches(@NotNull VcsBranchDetector branchDetector, @NotNull VcsRepositoryData repositoryData) Retrieve open branches from the given repository.@NotNull List<VcsPullRequest>getOpenPullRequests(@NotNull VcsPullRequestDetector pullRequestDetector, @NotNull VcsRepositoryData repositoryData)
-
Method Details
-
getOpenBranches
@NotNull public @NotNull List<VcsBranch> getOpenBranches(@NotNull @NotNull VcsBranchDetector branchDetector, @NotNull @NotNull VcsRepositoryData repositoryData) throws RepositoryException Description copied from interface:RepositoryCachingFacadeRetrieve open branches from the given repository.Listof 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).- Specified by:
getOpenBranchesin interfaceRepositoryCachingFacade- Returns:
Listof branch names. May be empty.- Throws:
RepositoryException
-
getOpenPullRequests
@NotNull public @NotNull List<VcsPullRequest> getOpenPullRequests(@NotNull @NotNull VcsPullRequestDetector pullRequestDetector, @NotNull @NotNull VcsRepositoryData repositoryData) throws RepositoryException - Specified by:
getOpenPullRequestsin interfaceRepositoryCachingFacade- Throws:
RepositoryException
-