public static class InMemoryRepository.Builder extends DfsRepositoryBuilder<InMemoryRepository.Builder,InMemoryRepository>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
InMemoryRepository |
build()
Create a repository matching the configuration in this builder.
|
addAlternateObjectDirectory, getReaderOptions, getRepositoryDescription, setGitDir, setIndexFile, setObjectDirectory, setReaderOptions, setRepositoryDescription, setup, setWorkTreeaddAlternateObjectDirectories, addAlternateObjectDirectories, addCeilingDirectories, addCeilingDirectories, addCeilingDirectory, findGitDir, findGitDir, getAlternateObjectDirectories, getConfig, getFS, getGitDir, getIndexFile, getObjectDirectory, getWorkTree, isBare, isMustExist, loadConfig, readEnvironment, readEnvironment, requireGitDirOrWorkTree, safeFS, self, setBare, setFS, setMustExist, setupGitDir, setupInternals, setupWorkTreepublic InMemoryRepository build() throws IOException
DfsRepositoryBuilderIf an option was not set, the build method will try to default the option based on other options. If insufficient information is available, an exception is thrown to the caller.
build in class DfsRepositoryBuilder<InMemoryRepository.Builder,InMemoryRepository>IOException - the repository could not be accessed to configure the rest of
the builder's parameters.Copyright © 2017 Eclipse JGit Project. All rights reserved.