Interface Repository.Factory

Enclosing interface:
Repository

public static interface Repository.Factory
An factory interface for constructing repositories. See RepositoryPlugin.
  • Method Details

    • create

      Repository create​(RepositoryMetadata metadata) throws java.lang.Exception
      Constructs a repository.
      Parameters:
      metadata - metadata for the repository including name and settings
      Throws:
      java.lang.Exception
    • create

      default Repository create​(RepositoryMetadata metadata, java.util.function.Function<java.lang.String,​Repository.Factory> typeLookup) throws java.lang.Exception
      Throws:
      java.lang.Exception