public interface RepositoryLayoutProvider
Modifier and Type | Method and Description |
---|---|
RepositoryLayout |
newRepositoryLayout(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository)
Tries to retrieve a repository layout for the specified remote repository.
|
RepositoryLayout newRepositoryLayout(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoRepositoryLayoutException
session
- The repository system session from which to configure the layout, must not be null
.repository
- The remote repository to create a layout for, must not be null
.null
.org.eclipse.aether.transfer.NoRepositoryLayoutException
- If none of the installed layout factories can provide a repository layout for
the specified remote repository.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.