Interface TrustedChecksumsSource.Writer

    • Method Detail

      • addTrustedArtifactChecksums

        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
        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:
        java.io.IOException