public class ListBranches extends Object implements com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>
Modifier and Type | Class and Description |
---|---|
static class |
ListBranches.BranchInfo |
Constructor and Description |
---|
ListBranches(GitRepositoryManager repoManager,
com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<BranchResource>> branchViews,
WebLinks webLinks) |
@Inject public ListBranches(GitRepositoryManager repoManager, com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<BranchResource>> branchViews, WebLinks webLinks)
public List<ListBranches.BranchInfo> apply(ProjectResource rsrc) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, IOException, com.google.gerrit.extensions.restapi.BadRequestException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>
com.google.gerrit.extensions.restapi.ResourceNotFoundException
IOException
com.google.gerrit.extensions.restapi.BadRequestException