@Named(value="maven2") public final class Maven2RepositoryLayoutFactory extends Object implements RepositoryLayoutFactory
"default".| Constructor and Description |
|---|
Maven2RepositoryLayoutFactory() |
| 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.
|
Maven2RepositoryLayoutFactory |
setPriority(float priority)
Sets the priority of this component.
|
public float getPriority()
RepositoryLayoutFactorygetPriority in interface RepositoryLayoutFactorypublic Maven2RepositoryLayoutFactory setPriority(float priority)
priority - The priority.null.public RepositoryLayout newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryLayoutException
RepositoryLayoutFactoryRemoteRepository.getContentType() to determine whether it can handle a repository.newInstance in interface RepositoryLayoutFactorysession - 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.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.