org.eclipse.aether.util.repository.layout

## Interface RepositoryLayout

- All Known Implementing Classes:
    MavenDefaultLayout

      public interface RepositoryLayout

  The layout for a remote repository whose artifacts/metadata can be addressed via URIs.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `URI` | `getPath(Artifact artifact)` Gets the URI to the location within a remote repository where the specified artifact would be stored.
    `URI` | `getPath(Metadata metadata)` Gets the URI to the location within a remote repository where the specified metadata would be stored.

- - ### Method Detail

    - #### getPath

          URI getPath(Artifact artifact)

      Gets the URI to the location within a remote repository where the specified artifact would be stored. The URI is relative to the root directory of the repository.
      Parameters:
        `artifact` - The artifact to get the URI for, must not be `null`.
      Returns:
        The relative URI to the artifact, never `null`.

    - #### getPath

          URI getPath(Metadata metadata)

      Gets the URI to the location within a remote repository where the specified metadata would be stored. The URI is relative to the root directory of the repository.
      Parameters:
        `metadata` - The metadata to get the URI for, must not be `null`.
      Returns:
        The relative URI to the metadata, never `null`.

Copyright © 2010-2012 The Eclipse Foundation. All Rights Reserved.