Class DefaultChecksumAlgorithmFactorySelector
java.lang.Object
org.eclipse.aether.internal.impl.checksum.DefaultChecksumAlgorithmFactorySelector
- All Implemented Interfaces:
org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
@Singleton
@Named
public class DefaultChecksumAlgorithmFactorySelector
extends Object
implements org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
Default implementation.
- Since:
- 1.8.0
-
Constructor Summary
ConstructorDescriptionDefaultChecksumAlgorithmFactorySelector
(Map<String, org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> factories) -
Method Summary
Modifier and TypeMethodDescriptionCollection
<org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> boolean
isChecksumExtension
(String extension) org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory
List
<org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> selectList
(Collection<String> algorithmNames)
-
Constructor Details
-
DefaultChecksumAlgorithmFactorySelector
@Inject public DefaultChecksumAlgorithmFactorySelector(Map<String, org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> factories)
-
-
Method Details
-
select
public org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory select(String algorithmName) - Specified by:
select
in interfaceorg.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
-
selectList
public List<org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> selectList(Collection<String> algorithmNames) - Specified by:
selectList
in interfaceorg.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
-
getChecksumAlgorithmFactories
public Collection<org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> getChecksumAlgorithmFactories()- Specified by:
getChecksumAlgorithmFactories
in interfaceorg.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
-
isChecksumExtension
- Specified by:
isChecksumExtension
in interfaceorg.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
-