org.eclipse.aether.impl

## Interface ArtifactDescriptorReader

-     public interface ArtifactDescriptorReader

  Provides information about an artifact that is relevant to transitive dependency resolution. Each artifact is expected to have an accompanying artifact descriptor that among others lists the direct dependencies of the artifact.
  Provisional:
    This type is provisional and can be changed, moved or removed without prior notice.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ArtifactDescriptorResult` | `readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request)` Gets information about an artifact like its direct dependencies and potential relocations.

- - ### Method Detail

    - #### readArtifactDescriptor

          ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session,
                                                        ArtifactDescriptorRequest request)
                                                          throws ArtifactDescriptorException

      Gets information about an artifact like its direct dependencies and potential relocations. Implementations must respect the `artifact descriptor policy` of the session when dealing with certain error cases.
      Parameters:
        `session` - The repository session, must not be `null`.
        `request` - The descriptor request, must not be `null`
      Returns:
        The descriptor result, never `null`.
      Throws:
        `ArtifactDescriptorException` - If the artifact descriptor could not be read.
      See Also:
        `RepositorySystem.readArtifactDescriptor(RepositorySystemSession, ArtifactDescriptorRequest)`

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