Package org.eclipse.aether.internal.impl
Class DefaultChecksumPolicyProvider
java.lang.Object
org.eclipse.aether.internal.impl.DefaultChecksumPolicyProvider
- All Implemented Interfaces:
org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider
@Singleton
@Named
public final class DefaultChecksumPolicyProvider
extends Object
implements org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEffectiveChecksumPolicy
(org.eclipse.aether.RepositorySystemSession session, String policy1, String policy2) org.eclipse.aether.spi.connector.checksum.ChecksumPolicy
newChecksumPolicy
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository, org.eclipse.aether.transfer.TransferResource resource, String policy)
-
Constructor Details
-
DefaultChecksumPolicyProvider
public DefaultChecksumPolicyProvider()
-
-
Method Details
-
newChecksumPolicy
public org.eclipse.aether.spi.connector.checksum.ChecksumPolicy newChecksumPolicy(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository, org.eclipse.aether.transfer.TransferResource resource, String policy) - Specified by:
newChecksumPolicy
in interfaceorg.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider
-
getEffectiveChecksumPolicy
public String getEffectiveChecksumPolicy(org.eclipse.aether.RepositorySystemSession session, String policy1, String policy2) - Specified by:
getEffectiveChecksumPolicy
in interfaceorg.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider
-