public interface LocalRepositoryProvider
Modifier and Type | Method and Description |
---|---|
LocalRepositoryManager |
newLocalRepositoryManager(RepositorySystemSession session,
LocalRepository localRepository)
Creates a new manager for the specified local repository.
|
LocalRepositoryManager newLocalRepositoryManager(RepositorySystemSession session, LocalRepository localRepository) throws NoLocalRepositoryManagerException
session
- The repository system session from which to configure the manager, must not be null
.localRepository
- The local repository to create a manager for, must not be null
.null
.NoLocalRepositoryManagerException
- If the specified repository type is not recognized or no base directory
is given.RepositorySystem.newLocalRepositoryManager(RepositorySystemSession, LocalRepository)
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.