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 TypeMethodDescriptionvoidTrustedChecksumsSource.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.ProvidedChecksumsSource.getProvidedArtifactChecksums(org.eclipse.aether.RepositorySystemSession session, ArtifactDownload transfer, org.eclipse.aether.repository.RemoteRepository remoteRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) May return the provided checksums (for given artifact transfer) from source other than remote repository, ornullif it have no checksums available for given transfer.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, ornullif not enabled. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.spi.connector.checksum
Classes in org.eclipse.aether.spi.connector.checksum that implement ChecksumAlgorithmFactoryModifier and TypeClassDescriptionclassSupport class forChecksumAlgorithmFactoryimplementations.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 immutable collection of all supported algorithms.ChecksumAlgorithmFactorySelector.selectList(Collection<String> algorithmNames) Returns a list of factories in same order as algorithm names are 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) Deprecated.May return the provided checksums (for given artifact transfer) from source other than remote repository, ornullif 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 theChecksumAlgorithmFactorythat 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 ofChecksumAlgorithmFactorythis 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.