public class GitTree extends GitFunction implements PageableGitFunction
/tree/{branchOrTagOrObjectId}/{filesAndFolders}/...
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ID |
protected static String |
JCR_CONTENT |
protected static String |
JCR_CONTENT_SUFFIX |
protected static String |
NAME |
connector, DEFAULT_PAGE_SIZE, DELIMITER, name, pageSize, REMOTE_BRANCH_PREFIX, REVERSE_REF_COMPARATOR, TAG_PREFIX| Constructor and Description |
|---|
GitTree(GitConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInformationForPath(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
DocumentWriter writer,
org.eclipse.jgit.revwalk.RevCommit commit,
String path,
CallSpecification spec,
Values values) |
Document |
execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
PageWriter writer,
Values values,
PageKey pageKey) |
boolean |
isPaged() |
protected boolean |
isQueryable(CallSpecification callSpec) |
protected static Object |
referenceToTree(org.eclipse.jgit.lib.ObjectId commitId,
String branchOrTagOrCommitId,
Values values) |
addBranchesAsChildren, addCommitsAsChildren, addCommitsAsPageOfChildren, addTagsAsChildren, authorName, branchRefForName, branchRefForName, commiterName, getName, resolveBranchOrTagOrCommitId, toStringprotected static final String JCR_CONTENT
protected static final String JCR_CONTENT_SUFFIX
protected static final String NAME
protected static final String ID
public GitTree(GitConnector connector)
protected static Object referenceToTree(org.eclipse.jgit.lib.ObjectId commitId, String branchOrTagOrCommitId, Values values)
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.GitAPIExceptionIOExceptionprotected void addInformationForPath(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
DocumentWriter writer,
org.eclipse.jgit.revwalk.RevCommit commit,
String path,
CallSpecification spec,
Values values)
throws org.eclipse.jgit.api.errors.GitAPIException,
IOException
org.eclipse.jgit.api.errors.GitAPIExceptionIOExceptionpublic boolean isPaged()
isPaged in class GitFunctionpublic Document execute(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.api.Git git, CallSpecification spec, PageWriter writer, Values values, PageKey pageKey) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
execute in interface PageableGitFunctionorg.eclipse.jgit.api.errors.GitAPIExceptionIOExceptionprotected boolean isQueryable(CallSpecification callSpec)
isQueryable in class GitFunctionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.