public class GitBranches extends GitFunction
GitFunction that returns the list of branches in this repository. The structure of this area of the repository is as
follows:
/branches/{branchName}
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ID |
protected static String |
NAME |
connector, DEFAULT_PAGE_SIZE, DELIMITER, LOCAL_BRANCH_PREFIX, name, pageSize, REMOTE_BRANCH_PREFIX, REVERSE_REF_COMPARATOR, TAG_PREFIX| Constructor and Description |
|---|
GitBranches(GitConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
Document |
execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
addBranchesAsChildren, addCommitsAsChildren, addCommitsAsPageOfChildren, addTagsAsChildren, authorName, branchRefForName, branchRefForName, commiterName, getName, isPaged, isQueryable, resolveBranchOrTagOrCommitId, toStringprotected static final String NAME
protected static final String ID
public GitBranches(GitConnector connector)
public Document execute(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.api.Git git, CallSpecification spec, DocumentWriter writer, Values values) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
execute in class GitFunctionorg.eclipse.jgit.api.errors.GitAPIExceptionIOExceptionCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.