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 org.eclipse.aether.resolution.ArtifactDescriptorResult
readArtifactDescriptor(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
-
-
-
Method Detail
-
readArtifactDescriptor
org.eclipse.aether.resolution.ArtifactDescriptorResult readArtifactDescriptor(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) throws org.eclipse.aether.resolution.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:
org.eclipse.aether.resolution.ArtifactDescriptorException
- If the artifact descriptor could not be read.- See Also:
RepositorySystem.readArtifactDescriptor(RepositorySystemSession, ArtifactDescriptorRequest)
-
-