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