Interface RepositoryFactory


  • public interface RepositoryFactory
    A interface responsible to create Repository instances.
    • Method Detail

      • newInstance

        Repository newInstance​(java.lang.String name,
                               java.net.URI uri)
        Creates a new instance of a repository with a name and url.
        Parameters:
        name - the repository name
        uri - the repository location
        Returns:
        the new repository
      • getSupportedScheme

        java.util.Set<java.lang.String> getSupportedScheme()
        Returns a set of URI scheme that the RepositoryFactory supports.
        Returns:
        a set of URI scheme that the RepositoryFactory supports