ModeShape Distribution 3.1.0.Final

org.modeshape.connector.git
Class GitBranches

java.lang.Object
  extended by org.modeshape.connector.git.GitFunction
      extended by 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}
 


Field Summary
protected static String ID
           
protected static String NAME
           
 
Fields inherited from class org.modeshape.connector.git.GitFunction
connector, DEFAULT_PAGE_SIZE, DELIMITER, name, pageSize, REMOTE_BRANCH_PREFIX, REVERSE_REF_COMPARATOR, TAG_PREFIX
 
Constructor Summary
GitBranches(GitConnector connector)
           
 
Method Summary
 Document execute(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.api.Git git, CallSpecification spec, DocumentWriter writer, Values values)
           
 
Methods inherited from class org.modeshape.connector.git.GitFunction
addBranchesAsChildren, addCommitsAsChildren, addCommitsAsPageOfChildren, addTagsAsChildren, branchRefForName, getName, isPaged, isQueryable, resolveBranchOrTagOrCommitId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

protected static final String NAME
See Also:
Constant Field Values

ID

protected static final String ID
See Also:
Constant Field Values
Constructor Detail

GitBranches

public GitBranches(GitConnector connector)
Method Detail

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

ModeShape Distribution 3.1.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.