Uses of Interface
org.eclipse.aether.spi.connector.checksum.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.internal.impl.checksum
Modifier and TypeClassDescriptionclass
The MD5 checksum type.class
Support class to implementChecksumAlgorithmFactory
based on JavaMessageDigest
.class
The SHA-1 checksum type.class
The SHA-256 checksum type.class
The SHA-512 checksum type.Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionDefaultChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories()
DefaultChecksumAlgorithmFactorySelector.selectList
(Collection<String> algorithmNames) Modifier and TypeMethodDescriptionSparseDirectoryTrustedChecksumsSource.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) SummaryFileTrustedChecksumsSource.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) TrustedToProvidedChecksumsSourceAdapter.getProvidedArtifactChecksums
(RepositorySystemSession session, ArtifactDownload transfer, RemoteRepository repository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) ModifierConstructorDescription -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.spi.checksums
Modifier and TypeMethodDescriptionvoid
TrustedChecksumsSource.Writer.addTrustedArtifactChecksums
(Artifact artifact, 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
(RepositorySystemSession session, ArtifactDownload transfer, RemoteRepository remoteRepository, 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.TrustedChecksumsSource.getTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, 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
Modifier and TypeClassDescriptionclass
Support class forChecksumAlgorithmFactory
implementations.Modifier and TypeMethodDescriptionReturns factory for given algorithm name, or throws if algorithm not supported.Modifier 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.Modifier 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.ChecksumAlgorithmHelper.calculate
(Path path, List<ChecksumAlgorithmFactory> factories) Calculates checksums for specified file. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.spi.connector.layout
Modifier and TypeMethodDescriptionRepositoryLayout.ChecksumLocation.getChecksumAlgorithmFactory()
Gets theChecksumAlgorithmFactory
that is used to calculate the checksum.Modifier and TypeMethodDescriptionRepositoryLayout.getChecksumAlgorithmFactories()
Returns immutable list ofChecksumAlgorithmFactory
this instance of layout uses, nevernull
.Modifier and TypeMethodDescriptionRepositoryLayout.ChecksumLocation.forLocation
(URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory) Creates a checksum descriptor for the specified artifact/metadata location and algorithm.ModifierConstructorDescriptionChecksumLocation
(URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory) Creates a new checksum file descriptor with the specified algorithm and location. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.supplier
Modifier and TypeMethodDescriptionprotected Map
<String, ChecksumAlgorithmFactory> RepositorySystemSupplier.createChecksumAlgorithmFactories()
final Map
<String, ChecksumAlgorithmFactory> RepositorySystemSupplier.getChecksumAlgorithmFactories()