Package org.eclipse.aether.spi.checksums
Interface TrustedChecksumsSource.Writer
-
- All Known Implementing Classes:
SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter
,SummaryFileTrustedChecksumsSource.SummaryFileWriter
- Enclosing interface:
- TrustedChecksumsSource
public static interface TrustedChecksumsSource.Writer
A writer that is able to write/add trusted checksums to this implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTrustedArtifactChecksums(Artifact artifact, 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.
-
-
-
Method Detail
-
addTrustedArtifactChecksums
void addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.Map<java.lang.String,java.lang.String> trustedArtifactChecksums) throws java.io.IOException
Performs 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:
java.io.IOException
-
-