Uses of Interface
org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory
-
Packages that use ChecksumAlgorithmFactory Package Description 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. -
-
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(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.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(org.eclipse.aether.RepositorySystemSession session, ArtifactDownload transfer, org.eclipse.aether.repository.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(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.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.java.util.Map<java.lang.String,java.lang.String>
ProvidedChecksumsSource. getProvidedArtifactChecksums(org.eclipse.aether.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
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.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.
-