Package org.eclipse.aether.internal.impl
Class Maven2RepositoryLayoutFactory.Maven2RepositoryLayoutEx
java.lang.Object
org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory.Maven2RepositoryLayout
org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory.Maven2RepositoryLayoutEx
- All Implemented Interfaces:
RepositoryLayout
- Enclosing class:
- Maven2RepositoryLayoutFactory
private static class Maven2RepositoryLayoutFactory.Maven2RepositoryLayoutEx
extends Maven2RepositoryLayoutFactory.Maven2RepositoryLayout
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.spi.connector.layout.RepositoryLayout
RepositoryLayout.Checksum -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMaven2RepositoryLayoutEx(List<String> checksumsAlgorithms) -
Method Summary
Modifier and TypeMethodDescriptiongetChecksums(Artifact artifact, boolean upload, URI location) Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the specified artifact.private booleanisSignature(String extension) Methods inherited from class org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory.Maven2RepositoryLayout
getChecksums, getLocation, getLocation
-
Constructor Details
-
Maven2RepositoryLayoutEx
-
-
Method Details
-
getChecksums
public List<RepositoryLayout.Checksum> getChecksums(Artifact artifact, boolean upload, URI location) Description copied from interface:RepositoryLayoutGets the checksums files that a remote repository keeps to help detect data corruption during transfers of the specified artifact.- Specified by:
getChecksumsin interfaceRepositoryLayout- Overrides:
getChecksumsin classMaven2RepositoryLayoutFactory.Maven2RepositoryLayout- Parameters:
artifact- The artifact to get the checksum files for, must not benull.upload-falseif the checksums are being downloaded/verified,trueif the checksums are being uploaded/created.location- The relative URI to the artifact within the repository as previously obtained fromRepositoryLayout.getLocation(Artifact, boolean), must not benull.- Returns:
- The checksum files for the given artifact, possibly empty but never
null.
-
isSignature
-