private class SummaryFileTrustedChecksumsSource.SummaryFileWriter extends java.lang.Object implements TrustedChecksumsSource.Writer
Modifier and Type | Field and 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 |
Modifier | Constructor and 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) |
Modifier and Type | Method and 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.
|
private final java.util.concurrent.ConcurrentHashMap<java.nio.file.Path,java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String>> cache
private final java.nio.file.Path basedir
private final boolean originAware
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)
public void addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, java.util.List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, java.util.Map<java.lang.String,java.lang.String> trustedArtifactChecksums)
TrustedChecksumsSource.Writer
addTrustedArtifactChecksums
in interface TrustedChecksumsSource.Writer