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
Constructors Modifier Constructor Description protected
Maven2RepositoryLayoutEx(java.util.List<java.lang.String> checksumsAlgorithms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<RepositoryLayout.Checksum>
getChecksums(Artifact artifact, boolean upload, java.net.URI location)
Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the specified artifact.private boolean
isSignature(java.lang.String extension)
-
Methods inherited from class org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory.Maven2RepositoryLayout
getChecksums, getLocation, getLocation
-
-
-
-
Method Detail
-
getChecksums
public java.util.List<RepositoryLayout.Checksum> getChecksums(Artifact artifact, boolean upload, java.net.URI location)
Description copied from interface:RepositoryLayout
Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the specified artifact.- Specified by:
getChecksums
in interfaceRepositoryLayout
- Overrides:
getChecksums
in classMaven2RepositoryLayoutFactory.Maven2RepositoryLayout
- Parameters:
artifact
- The artifact to get the checksum files for, must not benull
.upload
-false
if the checksums are being downloaded/verified,true
if 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
private boolean isSignature(java.lang.String extension)
-
-