Class SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter
java.lang.Object
org.eclipse.aether.internal.impl.checksum.SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter
- All Implemented Interfaces:
TrustedChecksumsSource.Writer
- Enclosing class:
SparseDirectoryTrustedChecksumsSource
private class SparseDirectoryTrustedChecksumsSource.SparseDirectoryWriter
extends Object
implements TrustedChecksumsSource.Writer
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.
-
Field Details
-
basedir
-
originAware
private final boolean originAware
-
-
Constructor Details
-
SparseDirectoryWriter
-
-
Method Details
-
addTrustedArtifactChecksums
public void addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) throws IOExceptionDescription 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
- Throws:
IOException
-