public interface LocalRepositoryManagerFactory
newInstance(RepositorySystemSession, LocalRepository)
on them. The first manager returned by a factory will
then be used for the local repository.Modifier and Type | Method and Description |
---|---|
float |
getPriority()
The priority of this factory.
|
LocalRepositoryManager |
newInstance(RepositorySystemSession session,
LocalRepository repository)
Tries to create a repository manager for the specified local repository.
|
LocalRepositoryManager newInstance(RepositorySystemSession session, LocalRepository repository) throws NoLocalRepositoryManagerException
type
, which may for example denote the used directory
structure.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
.null
.NoLocalRepositoryManagerException
- If the factory cannot create a manager for the specified local
repository.float getPriority()
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.