Interface TrustedChecksumsSource.Writer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addTrustedArtifactChecksums​(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.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.
    • Method Detail

      • addTrustedArtifactChecksums

        void addTrustedArtifactChecksums​(org.eclipse.aether.artifact.Artifact artifact,
                                         org.eclipse.aether.repository.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