Package | Description |
---|---|
org.eclipse.aether.internal.impl |
The various sub components that collectively implement the repository system.
|
org.eclipse.aether.internal.impl.checksum | |
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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
FileProvidedChecksumsSource.getProvidedArtifactChecksums(RepositorySystemSession session,
ArtifactDownload transfer,
List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) |
Map<String,String> |
FileProvidedChecksumsSource.getProvidedArtifactChecksums(RepositorySystemSession session,
ArtifactDownload transfer,
List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) |
Modifier and Type | Class and Description |
---|---|
class |
Md5ChecksumAlgorithmFactory
The MD5 checksum type.
|
class |
MessageDigestChecksumAlgorithmFactorySupport
Support class to implement
ChecksumAlgorithmFactory based on Java MessageDigest . |
class |
Sha1ChecksumAlgorithmFactory
The SHA-1 checksum type.
|
class |
Sha256ChecksumAlgorithmFactory
The SHA-256 checksum type.
|
class |
Sha512ChecksumAlgorithmFactory
The SHA-512 checksum type.
|
Modifier and Type | Method and Description |
---|---|
ChecksumAlgorithmFactory |
DefaultChecksumAlgorithmFactorySelector.select(String algorithmName) |
ChecksumAlgorithmFactory |
DefaultChecksumAlgorithmFactorySelector.select(String algorithmName) |
Modifier and Type | Method and Description |
---|---|
List<ChecksumAlgorithmFactory> |
DefaultChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories() |
List<ChecksumAlgorithmFactory> |
DefaultChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories() |
Constructor and Description |
---|
DefaultChecksumAlgorithmFactorySelector(Map<String,ChecksumAlgorithmFactory> factories) |
DefaultChecksumAlgorithmFactorySelector(Map<String,ChecksumAlgorithmFactory> factories) |
Modifier and Type | Class and Description |
---|---|
class |
ChecksumAlgorithmFactorySupport
Support class for
ChecksumAlgorithmFactory implementations. |
Modifier and Type | Method and Description |
---|---|
ChecksumAlgorithmFactory |
ChecksumAlgorithmFactorySelector.select(String algorithmName)
Returns factory for given algorithm name, or throws if algorithm not supported.
|
ChecksumAlgorithmFactory |
ChecksumAlgorithmFactorySelector.select(String algorithmName)
Returns factory for given algorithm name, or throws if algorithm not supported.
|
Modifier and Type | Method and Description |
---|---|
Collection<ChecksumAlgorithmFactory> |
ChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories()
Returns a collection of supported algorithms.
|
Collection<ChecksumAlgorithmFactory> |
ChecksumAlgorithmFactorySelector.getChecksumAlgorithmFactories()
Returns a collection of supported algorithms.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
ChecksumAlgorithmHelper.calculate(byte[] data,
List<ChecksumAlgorithmFactory> factories)
Calculates checksums for specified data.
|
static Map<String,String> |
ChecksumAlgorithmHelper.calculate(byte[] data,
List<ChecksumAlgorithmFactory> factories)
Calculates checksums for specified data.
|
static Map<String,String> |
ChecksumAlgorithmHelper.calculate(File file,
List<ChecksumAlgorithmFactory> factories)
Calculates checksums for specified file.
|
static Map<String,String> |
ChecksumAlgorithmHelper.calculate(File file,
List<ChecksumAlgorithmFactory> factories)
Calculates checksums for specified file.
|
Map<String,String> |
ProvidedChecksumsSource.getProvidedArtifactChecksums(RepositorySystemSession session,
ArtifactDownload transfer,
List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
May return the provided checksums (for given artifact transfer) from trusted source other than remote
repository, or
null . |
Map<String,String> |
ProvidedChecksumsSource.getProvidedArtifactChecksums(RepositorySystemSession session,
ArtifactDownload transfer,
List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
May return the provided checksums (for given artifact transfer) from trusted source other than remote
repository, or
null . |
Modifier and Type | Method and Description |
---|---|
ChecksumAlgorithmFactory |
RepositoryLayout.ChecksumLocation.getChecksumAlgorithmFactory()
Gets the
ChecksumAlgorithmFactory that is used to calculate the checksum. |
ChecksumAlgorithmFactory |
RepositoryLayout.ChecksumLocation.getChecksumAlgorithmFactory()
Gets the
ChecksumAlgorithmFactory that is used to calculate the checksum. |
Modifier and Type | Method and Description |
---|---|
List<ChecksumAlgorithmFactory> |
RepositoryLayout.getChecksumAlgorithmFactories()
Returns immutable list of
ChecksumAlgorithmFactory this instance of layout uses, never null . |
List<ChecksumAlgorithmFactory> |
RepositoryLayout.getChecksumAlgorithmFactories()
Returns immutable list of
ChecksumAlgorithmFactory this instance of layout uses, never null . |
Modifier and Type | Method and Description |
---|---|
static RepositoryLayout.ChecksumLocation |
RepositoryLayout.ChecksumLocation.forLocation(URI location,
ChecksumAlgorithmFactory checksumAlgorithmFactory)
Creates a checksum descriptor for the specified artifact/metadata location and algorithm.
|
static RepositoryLayout.ChecksumLocation |
RepositoryLayout.ChecksumLocation.forLocation(URI location,
ChecksumAlgorithmFactory checksumAlgorithmFactory)
Creates a checksum descriptor for the specified artifact/metadata location and algorithm.
|
Constructor and Description |
---|
ChecksumLocation(URI location,
ChecksumAlgorithmFactory checksumAlgorithmFactory)
Creates a new checksum file descriptor with the specified algorithm and location.
|
ChecksumLocation(URI location,
ChecksumAlgorithmFactory checksumAlgorithmFactory)
Creates a new checksum file descriptor with the specified algorithm and location.
|
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.