Uses of Interface
org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory
-
Packages that use ChecksumAlgorithmFactory Package Description org.eclipse.aether.connector.basic Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.org.eclipse.aether.impl.guice The integration with the dependency injection framework Google Guice.org.eclipse.aether.internal.impl The various sub components that collectively implement the repository system.org.eclipse.aether.internal.impl.checksum org.eclipse.aether.internal.impl.resolution org.eclipse.aether.spi.checksums org.eclipse.aether.spi.connector.checksum The support infrastructure for repository connectors to apply checksum policies when validating the integrity of downloaded files.org.eclipse.aether.spi.connector.layout The contract to locate URI-based resources using custom repository layouts.org.eclipse.aether.supplier -
-
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.connector.basic
Fields in org.eclipse.aether.connector.basic declared as ChecksumAlgorithmFactory Modifier and Type Field Description (package private) ChecksumAlgorithmFactory
ChecksumCalculator.Checksum. checksumAlgorithmFactory
Fields in org.eclipse.aether.connector.basic with type parameters of type ChecksumAlgorithmFactory Modifier and Type Field Description private java.util.Collection<ChecksumAlgorithmFactory>
ChecksumValidator. checksumAlgorithmFactories
Methods in org.eclipse.aether.connector.basic with parameters of type ChecksumAlgorithmFactory Modifier and Type Method Description private java.io.File
ChecksumValidator. getChecksumFile(ChecksumAlgorithmFactory factory)
Method parameters in org.eclipse.aether.connector.basic with type arguments of type ChecksumAlgorithmFactory Modifier and Type Method Description static ChecksumCalculator
ChecksumCalculator. newInstance(java.io.File targetFile, java.util.Collection<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
Constructors in org.eclipse.aether.connector.basic with parameters of type ChecksumAlgorithmFactory Constructor Description Checksum(ChecksumAlgorithmFactory checksumAlgorithmFactory)
Constructor parameters in org.eclipse.aether.connector.basic with type arguments of type ChecksumAlgorithmFactory Constructor Description ChecksumCalculator(java.io.File targetFile, java.util.Collection<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
ChecksumValidator(java.io.File dataFile, java.util.Collection<ChecksumAlgorithmFactory> checksumAlgorithmFactories, FileProcessor fileProcessor, ChecksumValidator.ChecksumFetcher checksumFetcher, ChecksumPolicy checksumPolicy, java.util.Map<java.lang.String,java.lang.String> providedChecksums, java.util.Collection<RepositoryLayout.ChecksumLocation> checksumLocations)
GetTaskRunner(java.net.URI path, java.io.File file, ChecksumPolicy checksumPolicy, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.List<RepositoryLayout.ChecksumLocation> checksumLocations, java.util.Map<java.lang.String,java.lang.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 ChecksumAlgorithmFactory Modifier and Type Method Description (package private) java.util.Map<java.lang.String,ChecksumAlgorithmFactory>
AetherModule. provideChecksumTypes(ChecksumAlgorithmFactory sha512, ChecksumAlgorithmFactory sha256, ChecksumAlgorithmFactory sha1, ChecksumAlgorithmFactory md5)
Deprecated.Methods in org.eclipse.aether.impl.guice with parameters of type ChecksumAlgorithmFactory Modifier and Type Method Description (package private) java.util.Map<java.lang.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 ChecksumAlgorithmFactory Modifier and Type Field Description private java.util.List<ChecksumAlgorithmFactory>
Maven2RepositoryLayoutFactory.Maven2RepositoryLayout. configuredChecksumAlgorithms
Methods in org.eclipse.aether.internal.impl that return types with arguments of type ChecksumAlgorithmFactory Modifier and Type Method Description java.util.List<ChecksumAlgorithmFactory>
Maven2RepositoryLayoutFactory.Maven2RepositoryLayout. getChecksumAlgorithmFactories()
Constructor parameters in org.eclipse.aether.internal.impl with type arguments of type ChecksumAlgorithmFactory Constructor Description Maven2RepositoryLayout(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, java.util.List<ChecksumAlgorithmFactory> configuredChecksumAlgorithms, java.util.Set<java.lang.String> extensionsWithoutChecksums)
-
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.internal.impl.checksum
Classes in org.eclipse.aether.internal.impl.checksum that implement ChecksumAlgorithmFactory Modifier and Type Class Description class
Md5ChecksumAlgorithmFactory
The MD5 checksum type.class
MessageDigestChecksumAlgorithmFactorySupport
Support class to implementChecksumAlgorithmFactory
based on JavaMessageDigest
.class
Sha1ChecksumAlgorithmFactory
The SHA-1 checksum type.class
Sha256ChecksumAlgorithmFactory
The SHA-256 checksum type.class
Sha512ChecksumAlgorithmFactory
The SHA-512 checksum type.Fields in org.eclipse.aether.internal.impl.checksum with type parameters of type ChecksumAlgorithmFactory Modifier and Type Field Description private java.util.Map<java.lang.String,ChecksumAlgorithmFactory>
DefaultChecksumAlgorithmFactorySelector. factories
Methods in org.eclipse.aether.internal.impl.checksum that return ChecksumAlgorithmFactory Modifier and Type Method Description ChecksumAlgorithmFactory
DefaultChecksumAlgorithmFactorySelector. select(java.lang.String algorithmName)
Methods in org.eclipse.aether.internal.impl.checksum that return types with arguments of type ChecksumAlgorithmFactory Modifier and Type Method Description java.util.Collection<ChecksumAlgorithmFactory>
DefaultChecksumAlgorithmFactorySelector. getChecksumAlgorithmFactories()
java.util.List<ChecksumAlgorithmFactory>
DefaultChecksumAlgorithmFactorySelector. selectList(java.util.Collection<java.lang.String> algorithmNames)
Methods in org.eclipse.aether.internal.impl.checksum with parameters of type ChecksumAlgorithmFactory Modifier and Type Method Description private java.lang.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 ChecksumAlgorithmFactory Modifier and Type Method Description void
SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter. addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.Map<java.lang.String,java.lang.String> trustedArtifactChecksums)
void
SummaryFileTrustedChecksumsSource.SummaryFileWriter. addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.Map<java.lang.String,java.lang.String> trustedArtifactChecksums)
protected abstract java.util.Map<java.lang.String,java.lang.String>
FileTrustedChecksumsSourceSupport. doGetTrustedArtifactChecksums(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
Implementors MUST NOT returnnull
at this point, as this source is enabled.protected java.util.Map<java.lang.String,java.lang.String>
SparseDirectoryTrustedChecksumsSource. doGetTrustedArtifactChecksums(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
protected java.util.Map<java.lang.String,java.lang.String>
SummaryFileTrustedChecksumsSource. doGetTrustedArtifactChecksums(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
java.util.Map<java.lang.String,java.lang.String>
TrustedToProvidedChecksumsSourceAdapter. getProvidedArtifactChecksums(RepositorySystemSession session, ArtifactDownload transfer, RemoteRepository repository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
java.util.Map<java.lang.String,java.lang.String>
FileTrustedChecksumsSourceSupport. getTrustedArtifactChecksums(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, java.util.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 ChecksumAlgorithmFactory Constructor Description DefaultChecksumAlgorithmFactorySelector(java.util.Map<java.lang.String,ChecksumAlgorithmFactory> factories)
-
Uses of ChecksumAlgorithmFactory in org.eclipse.aether.internal.impl.resolution
Method parameters in org.eclipse.aether.internal.impl.resolution with type arguments of type ChecksumAlgorithmFactory Modifier and Type Method Description private void
TrustedChecksumsArtifactResolverPostProcessor. recordArtifactChecksums(RepositorySystemSession session, ArtifactResult artifactResult, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
Calculates and records checksums into trusted sources that support writing.private boolean
TrustedChecksumsArtifactResolverPostProcessor. validateArtifactChecksums(RepositorySystemSession session, ArtifactResult artifactResult, java.util.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 ChecksumAlgorithmFactory Modifier and Type Method Description void
TrustedChecksumsSource.Writer. addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.Map<java.lang.String,java.lang.String> trustedArtifactChecksums)
Performs whatever implementation requires to "set" (write/add/append) given map of trusted checksums.java.util.Map<java.lang.String,java.lang.String>
ProvidedChecksumsSource. getProvidedArtifactChecksums(RepositorySystemSession session, ArtifactDownload transfer, RemoteRepository remoteRepository, java.util.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.java.util.Map<java.lang.String,java.lang.String>
TrustedChecksumsSource. getTrustedArtifactChecksums(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, java.util.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 ChecksumAlgorithmFactory Modifier and Type Class Description class
ChecksumAlgorithmFactorySupport
Support class forChecksumAlgorithmFactory
implementations.Methods in org.eclipse.aether.spi.connector.checksum that return ChecksumAlgorithmFactory Modifier and Type Method Description ChecksumAlgorithmFactory
ChecksumAlgorithmFactorySelector. select(java.lang.String algorithmName)
Returns 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 ChecksumAlgorithmFactory Modifier and Type Method Description java.util.Collection<ChecksumAlgorithmFactory>
ChecksumAlgorithmFactorySelector. getChecksumAlgorithmFactories()
Returns immutable collection of all supported algorithms.java.util.List<ChecksumAlgorithmFactory>
ChecksumAlgorithmFactorySelector. selectList(java.util.Collection<java.lang.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 ChecksumAlgorithmFactory Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>
ChecksumAlgorithmHelper. calculate(byte[] data, java.util.List<ChecksumAlgorithmFactory> factories)
Calculates checksums for specified data.static java.util.Map<java.lang.String,java.lang.String>
ChecksumAlgorithmHelper. calculate(java.io.File file, java.util.List<ChecksumAlgorithmFactory> factories)
Calculates checksums for specified file.private static java.util.Map<java.lang.String,java.lang.String>
ChecksumAlgorithmHelper. calculate(java.io.InputStream inputStream, java.util.List<ChecksumAlgorithmFactory> factories)
java.util.Map<java.lang.String,java.lang.String>
ProvidedChecksumsSource. getProvidedArtifactChecksums(RepositorySystemSession session, ArtifactDownload transfer, java.util.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 ChecksumAlgorithmFactory Modifier and Type Field Description private ChecksumAlgorithmFactory
RepositoryLayout.ChecksumLocation. checksumAlgorithmFactory
Methods in org.eclipse.aether.spi.connector.layout that return ChecksumAlgorithmFactory Modifier and Type Method Description ChecksumAlgorithmFactory
RepositoryLayout.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 ChecksumAlgorithmFactory Modifier and Type Method Description java.util.List<ChecksumAlgorithmFactory>
RepositoryLayout. getChecksumAlgorithmFactories()
Returns immutable list ofChecksumAlgorithmFactory
this instance of layout uses, nevernull
.Methods in org.eclipse.aether.spi.connector.layout with parameters of type ChecksumAlgorithmFactory Modifier and Type Method Description static RepositoryLayout.ChecksumLocation
RepositoryLayout.ChecksumLocation. forLocation(java.net.URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory)
Creates a checksum descriptor for the specified artifact/metadata location and algorithm.private static void
RepositoryLayout.ChecksumLocation. verify(java.net.URI location, ChecksumAlgorithmFactory checksumAlgorithmFactory)
Constructors in org.eclipse.aether.spi.connector.layout with parameters of type ChecksumAlgorithmFactory Constructor Description ChecksumLocation(java.net.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 ChecksumAlgorithmFactory Modifier and Type Method Description protected java.util.Map<java.lang.String,ChecksumAlgorithmFactory>
RepositorySystemSupplier. getChecksumAlgorithmFactories()
Method parameters in org.eclipse.aether.supplier with type arguments of type ChecksumAlgorithmFactory Modifier and Type Method Description protected ChecksumAlgorithmFactorySelector
RepositorySystemSupplier. getChecksumAlgorithmFactorySelector(java.util.Map<java.lang.String,ChecksumAlgorithmFactory> checksumAlgorithmFactories)
-