Package | Description |
---|---|
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 | 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(org.eclipse.aether.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(org.eclipse.aether.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.