org.modeshape.connector.git
Class GitBranches
java.lang.Object
org.modeshape.connector.git.GitFunction
org.modeshape.connector.git.GitBranches
public class GitBranches
- extends GitFunction
A GitFunction
that returns the list of branches in this repository. The structure of this area of the repository is as
follows:
/branches/{branchName}
Methods inherited from class org.modeshape.connector.git.GitFunction |
addBranchesAsChildren, addCommitsAsChildren, addCommitsAsPageOfChildren, addTagsAsChildren, authorName, branchRefForName, branchRefForName, commiterName, getName, isPaged, isQueryable, resolveBranchOrTagOrCommitId, toString |
NAME
protected static final String NAME
- See Also:
- Constant Field Values
ID
protected static final String ID
- See Also:
- Constant Field Values
GitBranches
public GitBranches(GitConnector connector)
execute
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
- Specified by:
execute
in class GitFunction
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
IOException
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.