Class SummaryFileTrustedChecksumsSource.SummaryFileWriter
- java.lang.Object
-
- org.eclipse.aether.internal.impl.checksum.SummaryFileTrustedChecksumsSource.SummaryFileWriter
-
- All Implemented Interfaces:
TrustedChecksumsSource.Writer
- Enclosing class:
- SummaryFileTrustedChecksumsSource
private class SummaryFileTrustedChecksumsSource.SummaryFileWriter extends java.lang.Object implements TrustedChecksumsSource.Writer
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.Path
basedir
private java.util.concurrent.ConcurrentHashMap<java.nio.file.Path,java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String>>
cache
private boolean
originAware
-
Constructor Summary
Constructors Modifier Constructor Description private
SummaryFileWriter(java.util.concurrent.ConcurrentHashMap<java.nio.file.Path,java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String>> cache, java.nio.file.Path basedir, boolean originAware)
-
Method Summary
All Methods Instance Methods Concrete 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
public void addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.Map<java.lang.String,java.lang.String> trustedArtifactChecksums)
Description copied from interface:TrustedChecksumsSource.Writer
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.- Specified by:
addTrustedArtifactChecksums
in interfaceTrustedChecksumsSource.Writer
-
-