Package org.eclipse.aether.internal.impl
Class Maven2RepositoryLayoutFactory
java.lang.Object
org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory
- All Implemented Interfaces:
org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
@Singleton
@Named("maven2")
public final class Maven2RepositoryLayoutFactory
extends Object
implements org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
Provides a Maven-2 repository layout for repositories with content type
"default"
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Maven2RepositoryLayoutFactory
(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) -
Method Summary
Modifier and TypeMethodDescriptionfloat
org.eclipse.aether.spi.connector.layout.RepositoryLayout
newInstance
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) setPriority
(float priority) Sets the priority of this component.
-
Field Details
-
NAME
- See Also:
-
CONFIG_PROP_CHECKSUMS_ALGORITHMS
- See Also:
-
CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS
- See Also:
-
-
Constructor Details
-
Maven2RepositoryLayoutFactory
Deprecated.Service locator ctor. -
Maven2RepositoryLayoutFactory
@Inject public Maven2RepositoryLayoutFactory(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector)
-
-
Method Details
-
getPriority
- Specified by:
getPriority
in interfaceorg.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
-
setPriority
Sets the priority of this component.- Parameters:
priority
- The priority.- Returns:
- This component for chaining, never
null
.
-
newInstance
public org.eclipse.aether.spi.connector.layout.RepositoryLayout newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoRepositoryLayoutException - Specified by:
newInstance
in interfaceorg.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
- Throws:
org.eclipse.aether.transfer.NoRepositoryLayoutException
-