private static class Maven2RepositoryLayoutFactory.Maven2RepositoryLayoutEx extends Maven2RepositoryLayoutFactory.Maven2RepositoryLayout
RepositoryLayout.Checksum
Modifier and Type | Field and Description |
---|---|
static RepositoryLayout |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
Maven2RepositoryLayoutEx() |
Modifier and Type | Method and 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) |
getChecksums, getLocation, getLocation
public static final RepositoryLayout INSTANCE
public java.util.List<RepositoryLayout.Checksum> getChecksums(Artifact artifact, boolean upload, java.net.URI location)
RepositoryLayout
getChecksums
in interface RepositoryLayout
getChecksums
in class Maven2RepositoryLayoutFactory.Maven2RepositoryLayout
artifact
- The artifact to get the checksum files for, must not be null
.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 from
RepositoryLayout.getLocation(Artifact, boolean)
, must not be null
.null
.private boolean isSignature(java.lang.String extension)