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 java.lang.Object implements org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactoryProvides a Maven-2 repository layout for repositories with content type"default".
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROP_CHECKSUMS_ALGORITHMSstatic java.lang.StringCONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONSstatic java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description Maven2RepositoryLayoutFactory()Deprecated.Maven2RepositoryLayoutFactory(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetPriority()org.eclipse.aether.spi.connector.layout.RepositoryLayoutnewInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository)Maven2RepositoryLayoutFactorysetPriority(float priority)Sets the priority of this component.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
CONFIG_PROP_CHECKSUMS_ALGORITHMS
public static final java.lang.String CONFIG_PROP_CHECKSUMS_ALGORITHMS
- See Also:
- Constant Field Values
-
CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS
public static final java.lang.String CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Maven2RepositoryLayoutFactory
@Deprecated public Maven2RepositoryLayoutFactory()
Deprecated.Service locator ctor.
-
Maven2RepositoryLayoutFactory
@Inject public Maven2RepositoryLayoutFactory(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector)
-
-
Method Detail
-
getPriority
public float getPriority()
- Specified by:
getPriorityin interfaceorg.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
-
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 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:
newInstancein interfaceorg.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory- Throws:
org.eclipse.aether.transfer.NoRepositoryLayoutException
-
-