public final class JGitRepository extends java.lang.Object implements CloseableGitRepository
GitRepository.WalkMode| Modifier and Type | Method and Description |
|---|---|
void |
close() |
GitBranch |
getBranch(java.lang.String name) |
java.util.Collection<? extends GitBranch> |
getBranches() |
GitBranch |
getCurrentBranch() |
GitCommit |
getHead() |
java.util.Collection<JGitTag> |
getTags() |
java.io.File |
getWorkingDir() |
CloseableIterator<GitCommit> |
walk(GitCommit startCommit,
GitRepository.WalkMode mode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfirstParentWalk, firstParentWalk, walk, walk, walkpublic java.io.File getWorkingDir()
getWorkingDir in interface GitRepository@Nullable public GitCommit getHead()
getHead in interface GitRepository@Nullable public GitBranch getCurrentBranch()
getCurrentBranch in interface GitRepository@Nonnull public java.util.Collection<? extends GitBranch> getBranches()
getBranches in interface GitRepository@Nullable public GitBranch getBranch(java.lang.String name)
getBranch in interface GitRepository@Nonnull public java.util.Collection<JGitTag> getTags()
getTags in interface GitRepository@Nonnull public CloseableIterator<GitCommit> walk(GitCommit startCommit, GitRepository.WalkMode mode)
walk in interface GitRepositorypublic void close()
close in interface java.lang.AutoCloseableclose in interface CloseableGitRepository