@Singleton @Named(value="maven2") public final class Maven2RepositoryLayoutFactory extends Object implements RepositoryLayoutFactory
"default"
.Constructor and Description |
---|
Maven2RepositoryLayoutFactory() |
Modifier and Type | Method and Description |
---|---|
float |
getPriority() |
RepositoryLayout |
newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Maven2RepositoryLayoutFactory |
setPriority(float priority)
Sets the priority of this component.
|
public Maven2RepositoryLayoutFactory()
public float getPriority()
getPriority
in interface RepositoryLayoutFactory
public Maven2RepositoryLayoutFactory setPriority(float priority)
priority
- The priority.null
.public RepositoryLayout newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryLayoutException
newInstance
in interface RepositoryLayoutFactory
NoRepositoryLayoutException
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.