org.eclipse.jgit.internal.storage.dfs.DfsRepository .
| Modifier and Type | Field and Description |
|---|---|
| private DfsReaderOptions | |
| private DfsRepositoryDescription |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public B | addAlternateObjectDirectory(File
another objects directory to search after the standard one. other)Overrides org. Add an alternate object directory to the search list. |
| public abstract R | build()
Overrides org. Create a repository matching the configuration in this builder. |
| public DfsReaderOptions | Returns: options used by readers accessing the repository.Get options used by readers accessing the repository. |
| public DfsRepositoryDescription | Returns: the description of the repository.Get the description of the repository. |
| public B | setGitDir(File
GIT_DIR, the repository meta directory.Overrides org. Set the Git directory storing the repository metadata. |
| public B | setIndexFile(File
GIT_INDEX_FILE, the index file location.Overrides org. Set the local index file that is caching checked out file status. |
| public B | setObjectDirectory(File
GIT_OBJECT_DIRECTORY, the directory where the
repository's object files are stored.Overrides org. Set the directory storing the repository's objects. |
| public B | Returns: thisnew reader options object. opt)Set the reader options. |
| public B | Returns: thisnew repository description object. desc)Set the repository description. |
| public B | setup()
Overrides org. Guess and populate all parameters not already defined. |
| public B | setWorkTree(File
GIT_WORK_TREE, the working directory of the checkout.Overrides org. Set the top level directory of the working files. |
| readerOptions | back to summary |
|---|---|
| private DfsReaderOptions readerOptions | |
| repoDesc | back to summary |
|---|---|
| private DfsRepositoryDescription repoDesc | |
| DfsRepositoryBuilder | back to summary |
|---|---|
| public DfsRepositoryBuilder() | |
| addAlternateObjectDirectory | back to summary |
|---|---|
| public B addAlternateObjectDirectory(File other) Overrides org. Doc from org. Add an alternate object directory to the search list.
This setting handles one alternate directory at a time, and is provided
to support | |
| build | back to summary |
|---|---|
| public abstract R build() throws IOException Overrides org. Doc from org. 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. 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.
| |
| getReaderOptions | back to summary |
|---|---|
| public DfsReaderOptions getReaderOptions() Get options used by readers accessing the repository.
| |
| getRepositoryDescription | back to summary |
|---|---|
| public DfsRepositoryDescription getRepositoryDescription() Get the description of the repository.
| |
| setGitDir | back to summary |
|---|---|
| public B setGitDir(File gitDir) Overrides org. Doc from org. Set the Git directory storing the repository metadata.
The meta directory stores the objects, references, and meta files like
| |
| setIndexFile | back to summary |
|---|---|
| public B setIndexFile(File indexFile) Overrides org. Doc from org. Set the local index file that is caching checked out file status.
The location of the index file tracking the status information for each
checked out file in | |
| setObjectDirectory | back to summary |
|---|---|
| public B setObjectDirectory(File objectDirectory) Overrides org. Doc from org. Set the directory storing the repository's objects. | |
| setReaderOptions | back to summary |
|---|---|
| public B setReaderOptions(DfsReaderOptions opt) Set the reader options.
| |
| setRepositoryDescription | back to summary |
|---|---|
| public B setRepositoryDescription(DfsRepositoryDescription desc) Set the repository description.
| |
| setup | back to summary |
|---|---|
| public B setup() throws IllegalArgumentException, IOException Overrides org. Doc from org. Guess and populate all parameters not already defined. If an option was not set, the setup method will try to default the option based on other options. If insufficient information is available, an exception is thrown to the caller.
| |
| setWorkTree | back to summary |
|---|---|
| public B setWorkTree(File workTree) Overrides org. Doc from org. Set the top level directory of the working files. | |