Class InMemoryRepository.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public InMemoryRepository build()
                                 throws IOException
        Description copied from class: DfsRepositoryBuilder
        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.

        Specified by:
        build in class DfsRepositoryBuilder<InMemoryRepository.Builder,​InMemoryRepository>
        Returns:
        a repository matching this configuration. The caller is responsible to close the repository instance when it is no longer needed.
        Throws:
        IOException - the repository could not be accessed to configure the rest of the builder's parameters.