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.
|
org.eclipse.aether.repository.LocalRepositoryManager |
newInstance(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalRepository repository)
Tries to create a repository manager for the specified local repository.
|
org.eclipse.aether.repository.LocalRepositoryManager newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository repository) throws org.eclipse.aether.repository.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
.org.eclipse.aether.repository.NoLocalRepositoryManagerException
- If the factory cannot create a manager for the specified local
repository.float getPriority()
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.