|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.lib.BaseRepositoryBuilder<RepositoryBuilder,Repository>
org.eclipse.jgit.lib.RepositoryBuilder
public class RepositoryBuilder
Base class to support constructing a Repository.
Applications must set one of BaseRepositoryBuilder.setGitDir(File) or
BaseRepositoryBuilder.setWorkTree(File), or use BaseRepositoryBuilder.readEnvironment() or
BaseRepositoryBuilder.findGitDir() in order to configure the minimum property set
necessary to open a repository.
Single repository applications trying to be compatible with other Git implementations are encouraged to use a model such as:
new RepositoryBuilder() //
.setGitDir(gitDirArgument) // --git-dir if supplied, no-op if null
.readEnviroment() // scan environment GIT_* variables
.findGitDir() // scan up the file system tree
.build()
FileRepositoryBuilder| Constructor Summary | |
|---|---|
RepositoryBuilder()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||