Interface LocalRepositoryManagerFactory

    • Method Detail

      • newInstance

        LocalRepositoryManager newInstance​(RepositorySystemSession session,
                                           LocalRepository repository)
                                    throws NoLocalRepositoryManagerException
        Tries to create a repository manager for the specified local repository. The distinguishing property of a local repository is its type, which may for example denote the used directory structure.
        Parameters:
        session - The repository system session from which to configure the manager, must not be null.
        repository - The local repository to create a manager for, must not be null.
        Returns:
        The manager for the given repository, never null.
        Throws:
        NoLocalRepositoryManagerException - If the factory cannot create a manager for the specified local repository.
      • getPriority

        float getPriority()
        The priority of this factory. Factories with higher priority are preferred over those with lower priority.
        Returns:
        The priority of this factory.