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, LOCAL_BRANCH_PREFIX, 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,
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 static Object |
referenceToTree(org.eclipse.jgit.lib.ObjectId commitId,
String branchOrTagOrCommitId,
Values values) |
addBranchesAsChildren, addCommitsAsChildren, addCommitsAsPageOfChildren, addTagsAsChildren, authorName, branchRefForName, branchRefForName, commiterName, getName, isQueryable, resolveBranchOrTagOrCommitId, toString
protected 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 GitFunction
org.eclipse.jgit.api.errors.GitAPIException
IOException
protected void addInformationForPath(org.eclipse.jgit.lib.Repository repository, 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.GitAPIException
IOException
public boolean isPaged()
isPaged
in class GitFunction
public 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 PageableGitFunction
org.eclipse.jgit.api.errors.GitAPIException
IOException
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.