public class ListBranches extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>
Constructor and Description |
---|
ListBranches(GitRepositoryManager repoManager,
com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<BranchResource>> branchViews,
WebLinks webLinks) |
Modifier and Type | Method and Description |
---|---|
java.util.List<com.google.gerrit.extensions.api.projects.BranchInfo> |
apply(ProjectResource rsrc) |
void |
setLimit(int limit) |
void |
setMatchRegex(java.lang.String matchRegex) |
void |
setMatchSubstring(java.lang.String matchSubstring) |
void |
setStart(int start) |
@Inject public ListBranches(GitRepositoryManager repoManager, com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<BranchResource>> branchViews, WebLinks webLinks)
public void setLimit(int limit)
public void setStart(int start)
public void setMatchSubstring(java.lang.String matchSubstring)
public void setMatchRegex(java.lang.String matchRegex)
public java.util.List<com.google.gerrit.extensions.api.projects.BranchInfo> apply(ProjectResource rsrc) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, java.io.IOException, com.google.gerrit.extensions.restapi.BadRequestException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>
com.google.gerrit.extensions.restapi.ResourceNotFoundException
java.io.IOException
com.google.gerrit.extensions.restapi.BadRequestException