Uses of Interface
org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory
Packages that use ChecksumAlgorithmFactory
Package
Description
The support infrastructure for repository connectors to apply checksum policies when validating the integrity of
downloaded files.
The contract to locate URI-based resources using custom repository layouts.
-
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.spi.checksums
Method parameters in org.eclipse.aether.spi.checksums with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionvoid
TrustedChecksumsSource.Writer.addTrustedArtifactChecksums
(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) Performs whatever implementation requires to "set" (write/add/append) given map of trusted checksums.TrustedChecksumsSource.getTrustedArtifactChecksums
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) May return the trusted checksums (for given artifact) from trusted source, ornull
if not enabled. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.spi.connector.checksum
Classes in org.eclipse.aether.spi.connector.checksum that implement ChecksumAlgorithmFactoryModifier and TypeClassDescriptionclass
Support class forChecksumAlgorithmFactory
implementations.Methods in org.eclipse.aether.spi.connector.checksum that return ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionReturns factory for given algorithm name, or throws if algorithm not supported.Methods in org.eclipse.aether.spi.connector.checksum that return types with arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories()
Returns a collection of supported algorithms.ChecksumAlgorithmFactorySelector.selectList
(Collection<String> algorithmNames) Returns a list of factories for given algorithm names in order as collection is ordered, or throws if any of the algorithm name is not supported.Method parameters in org.eclipse.aether.spi.connector.checksum with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionChecksumAlgorithmHelper.calculate
(byte[] data, List<ChecksumAlgorithmFactory> factories) Calculates checksums for specified data.ChecksumAlgorithmHelper.calculate
(File file, List<ChecksumAlgorithmFactory> factories) Calculates checksums for specified file.ProvidedChecksumsSource.getProvidedArtifactChecksums
(org.eclipse.aether.RepositorySystemSession session, ArtifactDownload transfer, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) May return the provided checksums (for given artifact transfer) from source other than remote repository, ornull
if it have no checksums available for given transfer. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.spi.connector.layout
Methods in org.eclipse.aether.spi.connector.layout that return ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionRepositoryLayout.ChecksumLocation.getChecksumAlgorithmFactory()
Gets theChecksumAlgorithmFactory
that is used to calculate the checksum.Methods in org.eclipse.aether.spi.connector.layout that return types with arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionRepositoryLayout.getChecksumAlgorithmFactories()
Returns immutable list ofChecksumAlgorithmFactory
this instance of layout uses, nevernull
.Methods in org.eclipse.aether.spi.connector.layout with parameters of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionRepositoryLayout.ChecksumLocation.forLocation
(URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory) Creates a checksum descriptor for the specified artifact/metadata location and algorithm.Constructors in org.eclipse.aether.spi.connector.layout with parameters of type ChecksumAlgorithmFactoryModifierConstructorDescriptionChecksumLocation
(URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory) Creates a new checksum file descriptor with the specified algorithm and location.