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, setWorkTree
addAlternateObjectDirectories, 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, setupWorkTree
public InMemoryRepository build() throws IOException
DfsRepositoryBuilder
If 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.
Create a repository matching the configuration in this builder.
If 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 © 2019 Eclipse JGit Project. All rights reserved.