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