public interface RepositoryLayoutProvider
Modifier and Type | Method and Description |
---|---|
RepositoryLayout |
newRepositoryLayout(RepositorySystemSession session,
RemoteRepository repository)
Tries to retrieve a repository layout for the specified remote repository.
|
RepositoryLayout newRepositoryLayout(RepositorySystemSession session, RemoteRepository repository) throws 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
.NoRepositoryLayoutException
- If none of the installed layout factories can provide a repository layout for
the specified remote repository.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.