private class SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter extends java.lang.Object implements TrustedChecksumsSource.Writer
Modifier and Type | Field and Description |
---|---|
private java.nio.file.Path |
basedir |
private boolean |
originAware |
Modifier | Constructor and Description |
---|---|
private |
SparseDirectoryWriter(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.nio.file.Path basedir
private final boolean originAware
private SparseDirectoryWriter(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) throws java.io.IOException
TrustedChecksumsSource.Writer
addTrustedArtifactChecksums
in interface TrustedChecksumsSource.Writer
java.io.IOException