ComponentMetadataListerDetails (Gradle API 5.0)
Date: 2018-11-26

Package org.gradle.api.artifacts

## Interface ComponentMetadataListerDetails

-     @Incubating
      public interface ComponentMetadataListerDetails

  Allows a custom version lister to specify the list of versions known for a specific module.
  Since:
    4.9

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ModuleIdentifier` | `getModuleIdentifier​()` | Gives access to the module identifier for which the version lister should return the list of versions.
    `void` | `listed​(java.util.List<java.lang.String> versions)` | List the versions of the requested component.

- - ### Method Detail

    - #### getModuleIdentifier

          ModuleIdentifier getModuleIdentifier​()

      Gives access to the module identifier for which the version lister should return the list of versions.
      Returns:
        the module identifier for which versions are requested
      Since:
        4.9

    - #### listed

          void listed​(java.util.List<java.lang.String> versions)

      List the versions of the requested component.
      Parameters:
        `versions` - the list of versions for the requested component.
      Since:
        4.9