public class ListBranches extends java.lang.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) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ListBranches.BranchInfo> |
apply(ProjectResource rsrc) |
@Inject public ListBranches(GitRepositoryManager repoManager, com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<BranchResource>> branchViews)
public java.util.List<ListBranches.BranchInfo> apply(ProjectResource rsrc) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, java.io.IOException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>
com.google.gerrit.extensions.restapi.ResourceNotFoundException
java.io.IOException