Package org.eclipse.aether.internal.impl
Class Maven2RepositoryLayoutFactory
- java.lang.Object
-
- org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory
-
- All Implemented Interfaces:
RepositoryLayoutFactory
@Named("maven2") public final class Maven2RepositoryLayoutFactory extends Object implements RepositoryLayoutFactory
Provides a Maven-2 repository layout for repositories with content type"default"
.
-
-
Constructor Summary
Constructors Constructor Description Maven2RepositoryLayoutFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getPriority()
RepositoryLayout
newInstance(RepositorySystemSession session, RemoteRepository repository)
Maven2RepositoryLayoutFactory
setPriority(float priority)
Sets the priority of this component.
-
-
-
Constructor Detail
-
Maven2RepositoryLayoutFactory
public Maven2RepositoryLayoutFactory()
-
-
Method Detail
-
getPriority
public float getPriority()
- Specified by:
getPriority
in interfaceRepositoryLayoutFactory
-
setPriority
public Maven2RepositoryLayoutFactory setPriority(float priority)
Sets the priority of this component.- Parameters:
priority
- The priority.- Returns:
- This component for chaining, never
null
.
-
newInstance
public RepositoryLayout newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryLayoutException
- Specified by:
newInstance
in interfaceRepositoryLayoutFactory
- Throws:
NoRepositoryLayoutException
-
-