Class TrustedToProvidedChecksumsSourceAdapter

java.lang.Object
org.eclipse.aether.internal.impl.checksum.TrustedToProvidedChecksumsSourceAdapter
All Implemented Interfaces:
org.eclipse.aether.spi.checksums.ProvidedChecksumsSource

@Singleton @Named("trusted2provided") public final class TrustedToProvidedChecksumsSourceAdapter extends Object implements org.eclipse.aether.spi.checksums.ProvidedChecksumsSource
Adapter that adapts TrustedChecksumsSource to ProvidedChecksumsSource used by connector. Hence, any "trusted" source exist that is enabled, automatically becomes "provided" source as well.
Since:
1.9.0
  • Field Details

  • Constructor Details

  • Method Details

    • getProvidedArtifactChecksums

      public Map<String,String> getProvidedArtifactChecksums(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.spi.connector.ArtifactDownload transfer, org.eclipse.aether.repository.RemoteRepository repository, List<org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> checksumAlgorithmFactories)
      Specified by:
      getProvidedArtifactChecksums in interface org.eclipse.aether.spi.checksums.ProvidedChecksumsSource