Package org.eclipse.aether.spi.checksums
Interface TrustedChecksumsSource.Writer
- Enclosing interface:
- TrustedChecksumsSource
public static interface TrustedChecksumsSource.Writer
A writer that is able to write/add trusted checksums to this implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTrustedArtifactChecksums
(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) Performs whatever implementation requires to "set" (write/add/append) given map of trusted checksums.
-
Method Details
-
addTrustedArtifactChecksums
void addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) throws IOExceptionPerforms whatever implementation requires to "set" (write/add/append) given map of trusted checksums. The passed in list of checksum algorithm factories and the map must have equal size and mapping must contain all algorithm names in list.- Throws:
IOException
-