public interface ProvidedChecksumsSource
ChecksumPolicy.ChecksumKind.PROVIDED
.Modifier and Type | Method and Description |
---|---|
Map<String,String> |
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> getProvidedArtifactChecksums(RepositorySystemSession session, ArtifactDownload transfer, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories)
null
.transfer
- The transfer that is about to be executed.checksumAlgorithmFactories
- The checksum algorithms that are expected.null
.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.