public interface RepositoryLayout
Note: Implementations must be stateless.
| Modifier and Type | Interface and Description |
|---|---|
static class |
RepositoryLayout.Checksum
A descriptor for a checksum file.
|
| Modifier and Type | Method and Description |
|---|---|
List<RepositoryLayout.Checksum> |
getChecksums(org.eclipse.aether.artifact.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.
|
List<RepositoryLayout.Checksum> |
getChecksums(org.eclipse.aether.metadata.Metadata metadata,
boolean upload,
URI location)
Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the
specified metadata.
|
URI |
getLocation(org.eclipse.aether.artifact.Artifact artifact,
boolean upload)
Gets the location within a remote repository where the specified artifact resides.
|
URI |
getLocation(org.eclipse.aether.metadata.Metadata metadata,
boolean upload)
Gets the location within a remote repository where the specified metadata resides.
|
URI getLocation(org.eclipse.aether.artifact.Artifact artifact, boolean upload)
artifact - The artifact to get the URI for, must not be null.upload - false if the artifact is being downloaded, true if the artifact is being uploaded.null.URI getLocation(org.eclipse.aether.metadata.Metadata metadata, boolean upload)
metadata - The metadata to get the URI for, must not be null.upload - false if the metadata is being downloaded, true if the metadata is being uploaded.null.List<RepositoryLayout.Checksum> getChecksums(org.eclipse.aether.artifact.Artifact artifact, boolean upload, URI location)
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
getLocation(Artifact, boolean), must not be null.null.List<RepositoryLayout.Checksum> getChecksums(org.eclipse.aether.metadata.Metadata metadata, boolean upload, URI location)
metadata - The metadata 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 metadata within the repository as previously obtained from
getLocation(Metadata, boolean), must not be null.null.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.