org.eclipse.aether.spi.connector.layout

## Interface RepositoryLayoutProvider

- All Known Implementing Classes:
    DefaultRepositoryLayoutProvider

      public interface RepositoryLayoutProvider

  Retrieves a repository layout from the installed layout factories.
  Restriction:
    This interface is not intended to be extended by clients.
  Restriction:
    This interface is not intended to be implemented by clients.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `RepositoryLayout` | `newRepositoryLayout(RepositorySystemSession session, RemoteRepository repository)` Tries to retrieve a repository layout for the specified remote repository.

- - ### Method Detail

    - #### newRepositoryLayout

          RepositoryLayout newRepositoryLayout(RepositorySystemSession session,
                                             RemoteRepository repository)
                                               throws NoRepositoryLayoutException

      Tries to retrieve a repository layout for the specified remote repository.
      Parameters:
        `session` - The repository system session from which to configure the layout, must not be `null`.
        `repository` - The remote repository to create a layout for, must not be `null`.
      Returns:
        The layout for the given repository, never `null`.
      Throws:
        `NoRepositoryLayoutException` - If none of the installed layout factories can provide a repository layout for the specified remote repository.

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