public interface RepositoryLayoutFactory
newInstance(RepositorySystemSession, RemoteRepository) on them. The first layout returned by a factory will
then be used for transferring artifacts/metadata.| Modifier and Type | Method and Description |
|---|---|
float |
getPriority()
The priority of this factory.
|
RepositoryLayout |
newInstance(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository layout for the specified remote repository.
|
RepositoryLayout newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryLayoutException
RemoteRepository.getContentType() to determine whether it can handle a repository.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 the factory cannot create a repository layout for the specified remote
repository.float getPriority()
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.