Class DefaultChecksumAlgorithmFactorySelector
java.lang.Object
org.eclipse.aether.internal.impl.checksum.DefaultChecksumAlgorithmFactorySelector
- All Implemented Interfaces:
ChecksumAlgorithmFactorySelector
@Singleton
@Named
public class DefaultChecksumAlgorithmFactorySelector
extends Object
implements ChecksumAlgorithmFactorySelector
Default implementation.
- Since:
- 1.8.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of supported algorithms.Returns factory for given algorithm name, or throws if algorithm not supported.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
selectList
-
Constructor Details
-
DefaultChecksumAlgorithmFactorySelector
Deprecated.Default ctor for SL. -
DefaultChecksumAlgorithmFactorySelector
@Inject public DefaultChecksumAlgorithmFactorySelector(Map<String, ChecksumAlgorithmFactory> factories)
-
-
Method Details
-
select
Description copied from interface:ChecksumAlgorithmFactorySelector
Returns factory for given algorithm name, or throws if algorithm not supported.- Specified by:
select
in interfaceChecksumAlgorithmFactorySelector
-
getChecksumAlgorithmFactories
Description copied from interface:ChecksumAlgorithmFactorySelector
Returns a collection of supported algorithms. This set represents ALL the algorithms supported by Resolver, and is NOT in any relation to given repository layout used checksums, returned by methodRepositoryLayout.getChecksumAlgorithmFactories()
(in fact, is super set of it).- Specified by:
getChecksumAlgorithmFactories
in interfaceChecksumAlgorithmFactorySelector
-