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 Details

    • addTrustedArtifactChecksums

      void addTrustedArtifactChecksums(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String,String> trustedArtifactChecksums) throws 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:
      IOException