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 ChecksumAlgorithmFactoryChecksumCalculator.Checksum.checksumAlgorithmFactoryFields in org.eclipse.aether.connector.basic with type parameters of type ChecksumAlgorithmFactoryModifier and TypeFieldDescriptionprivate final Collection<ChecksumAlgorithmFactory> ChecksumValidator.checksumAlgorithmFactoriesMethods in org.eclipse.aether.connector.basic with parameters of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionprivate FileChecksumValidator.getChecksumFile(ChecksumAlgorithmFactory factory) Method parameters in org.eclipse.aether.connector.basic with type arguments of type ChecksumAlgorithmFactoryModifier and TypeMethodDescriptionstatic ChecksumCalculatorChecksumCalculator.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 ChecksumAlgorithmFactoryModifierConstructorDescriptionprivateChecksumCalculator(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.configuredChecksumAlgorithmsMethods 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 ChecksumAlgorithmFactoryModifierConstructorDescriptionprivateMaven2RepositoryLayout(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 TypeClassDescriptionclassThe MD5 checksum type.classSupport class to implementChecksumAlgorithmFactorybased on JavaMessageDigest.classThe SHA-1 checksum type.classThe SHA-256 checksum type.classThe 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.factoriesMethods 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 StringSparseDirectoryTrustedChecksumsSource.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 TypeMethodDescriptionvoidSparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter.addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) voidSummaryFileTrustedChecksumsSource.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 returnnullat 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-nullreturn 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 voidTrustedChecksumsArtifactResolverPostProcessor.recordArtifactChecksums(RepositorySystemSession session, ArtifactResult artifactResult, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) Calculates and records checksums into trusted sources that support writing.private booleanTrustedChecksumsArtifactResolverPostProcessor.validateArtifactChecksums(RepositorySystemSession session, ArtifactResult artifactResult, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, boolean failIfMissing) Validates trusted checksums againstArtifactResult, returnstruedenoting "valid" checksums orfalsedenoting "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 TypeMethodDescriptionvoidTrustedChecksumsSource.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, ornullif 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, 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.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, ornullif 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 ChecksumAlgorithmFactoryRepositoryLayout.ChecksumLocation.checksumAlgorithmFactoryMethods 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.private static voidRepositoryLayout.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 ChecksumAlgorithmFactorySelectorRepositorySystemSupplier.getChecksumAlgorithmFactorySelector(Map<String, ChecksumAlgorithmFactory> checksumAlgorithmFactories)