Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 theartifact descriptor policy
of the session when dealing with certain error cases.- Parameters:
session
- The repository session, must not benull
.request
- The descriptor request, must not benull
- Returns:
- The descriptor result, never
null
. - Throws:
ArtifactDescriptorException
- If the artifact descriptor could not be read.- See Also:
RepositorySystem.readArtifactDescriptor(RepositorySystemSession, ArtifactDescriptorRequest)
-
-