Uses of Interface
org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory
Packages that use ChecksumAlgorithmFactory
Package
Description
Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.
The integration with the dependency injection framework
Google Guice.
The various sub components that collectively implement the repository system.
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.connector.basic
Fields in org.eclipse.aether.connector.basic declared as ChecksumAlgorithmFactoryModifier and TypeFieldDescription(package private) final ChecksumAlgorithmFactory
ChecksumCalculator.Checksum.checksumAlgorithmFactory
Fields in org.eclipse.aether.connector.basic with type parameters of type ChecksumAlgorithmFactoryModifier and TypeFieldDescriptionprivate final Collection
<ChecksumAlgorithmFactory> ChecksumValidator.checksumAlgorithmFactories
Methods in org.eclipse.aether.connector.basic with parameters of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionprivate File
ChecksumValidator.getChecksumFile
(ChecksumAlgorithmFactory factory) Method parameters in org.eclipse.aether.connector.basic with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionstatic ChecksumCalculator
ChecksumCalculator.newInstance
(File targetFile, Collection<ChecksumAlgorithmFactory> checksumAlgorithmFactories) Constructors in org.eclipse.aether.connector.basic with parameters of type ChecksumAlgorithmFactoryModifierConstructorDescription(package private)
Checksum
(ChecksumAlgorithmFactory checksumAlgorithmFactory) Constructor parameters in org.eclipse.aether.connector.basic with type arguments of type ChecksumAlgorithmFactoryModifierConstructorDescriptionprivate
ChecksumCalculator
(File targetFile, Collection<ChecksumAlgorithmFactory> checksumAlgorithmFactories) (package private)
ChecksumValidator
(File dataFile, Collection<ChecksumAlgorithmFactory> checksumAlgorithmFactories, FileProcessor fileProcessor, ChecksumValidator.ChecksumFetcher checksumFetcher, ChecksumPolicy checksumPolicy, Map<String, String> providedChecksums, Collection<RepositoryLayout.ChecksumLocation> checksumLocations) (package private)
GetTaskRunner
(URI path, File file, ChecksumPolicy checksumPolicy, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, List<RepositoryLayout.ChecksumLocation> checksumLocations, Map<String, String> providedChecksums, TransferTransportListener<?> listener) -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.impl.guice
Methods in org.eclipse.aether.impl.guice that return types with arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescription(package private) Map
<String, ChecksumAlgorithmFactory> AetherModule.provideChecksumTypes
(ChecksumAlgorithmFactory sha512, ChecksumAlgorithmFactory sha256, ChecksumAlgorithmFactory sha1, ChecksumAlgorithmFactory md5) Deprecated.Methods in org.eclipse.aether.impl.guice with parameters of type ChecksumAlgorithmFactoryModifier and TypeMethodDescription(package private) Map
<String, ChecksumAlgorithmFactory> AetherModule.provideChecksumTypes
(ChecksumAlgorithmFactory sha512, ChecksumAlgorithmFactory sha256, ChecksumAlgorithmFactory sha1, ChecksumAlgorithmFactory md5) Deprecated. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.internal.impl
Fields in org.eclipse.aether.internal.impl with type parameters of type ChecksumAlgorithmFactoryModifier and TypeFieldDescriptionprivate final List
<ChecksumAlgorithmFactory> Maven2RepositoryLayoutFactory.Maven2RepositoryLayout.configuredChecksumAlgorithms
Methods in org.eclipse.aether.internal.impl that return types with arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionMaven2RepositoryLayoutFactory.Maven2RepositoryLayout.getChecksumAlgorithmFactories()
Constructor parameters in org.eclipse.aether.internal.impl with type arguments of type ChecksumAlgorithmFactoryModifierConstructorDescriptionprivate
Maven2RepositoryLayout
(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, List<ChecksumAlgorithmFactory> configuredChecksumAlgorithms, Set<String> extensionsWithoutChecksums) -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.internal.impl.checksum
Classes in org.eclipse.aether.internal.impl.checksum that implement ChecksumAlgorithmFactoryModifier 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.Fields in org.eclipse.aether.internal.impl.checksum with type parameters of type ChecksumAlgorithmFactoryModifier and TypeFieldDescriptionprivate final Map
<String, ChecksumAlgorithmFactory> DefaultChecksumAlgorithmFactorySelector.factories
Methods in org.eclipse.aether.internal.impl.checksum that return ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionMethods in org.eclipse.aether.internal.impl.checksum that return types with arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionDefaultChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories()
DefaultChecksumAlgorithmFactorySelector.selectList
(Collection<String> algorithmNames) Methods in org.eclipse.aether.internal.impl.checksum with parameters of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionprivate String
SparseDirectoryTrustedChecksumsSource.calculateArtifactPath
(boolean originAware, Artifact artifact, ArtifactRepository artifactRepository, ChecksumAlgorithmFactory checksumAlgorithmFactory) Method parameters in org.eclipse.aether.internal.impl.checksum with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionvoid
SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter.addTrustedArtifactChecksums
(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) void
SummaryFileTrustedChecksumsSource.SummaryFileWriter.addTrustedArtifactChecksums
(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) FileTrustedChecksumsSourceSupport.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) Implementors MUST NOT returnnull
at this point, as this source is enabled.SparseDirectoryTrustedChecksumsSource.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) FileTrustedChecksumsSourceSupport.getTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) This implementation will call into underlying code only if enabled, and will enforce non-null
return value.Constructor parameters in org.eclipse.aether.internal.impl.checksum with type arguments of type ChecksumAlgorithmFactoryModifierConstructorDescription -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.internal.impl.resolution
Method parameters in org.eclipse.aether.internal.impl.resolution with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionprivate void
TrustedChecksumsArtifactResolverPostProcessor.recordArtifactChecksums
(RepositorySystemSession session, ArtifactResult artifactResult, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) Calculates and records checksums into trusted sources that support writing.private boolean
TrustedChecksumsArtifactResolverPostProcessor.validateArtifactChecksums
(RepositorySystemSession session, ArtifactResult artifactResult, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, boolean failIfMissing) Validates trusted checksums againstArtifactResult
, returnstrue
denoting "valid" checksums orfalse
denoting "invalid" checksums. -
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
(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
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 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.ChecksumAlgorithmHelper.calculate
(InputStream inputStream, List<ChecksumAlgorithmFactory> factories) ProvidedChecksumsSource.getProvidedArtifactChecksums
(RepositorySystemSession session, ArtifactDownload transfer, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) Deprecated.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
Fields in org.eclipse.aether.spi.connector.layout declared as ChecksumAlgorithmFactoryModifier and TypeFieldDescriptionprivate final ChecksumAlgorithmFactory
RepositoryLayout.ChecksumLocation.checksumAlgorithmFactory
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.private static void
RepositoryLayout.ChecksumLocation.verify
(URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory) 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. -
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.supplier
Methods in org.eclipse.aether.supplier that return types with arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionprotected Map
<String, ChecksumAlgorithmFactory> RepositorySystemSupplier.getChecksumAlgorithmFactories()
Method parameters in org.eclipse.aether.supplier with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionprotected ChecksumAlgorithmFactorySelector
RepositorySystemSupplier.getChecksumAlgorithmFactorySelector
(Map<String, ChecksumAlgorithmFactory> checksumAlgorithmFactories)