Uses of Class
org.eclipse.aether.resolution.ArtifactDescriptorResult
Package
Description
The primary API of the
RepositorySystem
and its functionality.The types supporting the resolution of artifacts and metadata from repositories.
-
Uses of ArtifactDescriptorResult in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositorySystem.readArtifactDescriptor
(RepositorySystemSession session, ArtifactDescriptorRequest request) Gets information about an artifact like its direct dependencies and potential relocations. -
Uses of ArtifactDescriptorResult in org.eclipse.aether.resolution
Modifier and TypeMethodDescriptionRecords the specified alias.ArtifactDescriptorResult.addDependency
(Dependency dependency) Adds the specified direct dependency.ArtifactDescriptorResult.addException
(Exception exception) Records the specified exception while reading the artifact descriptor.ArtifactDescriptorResult.addManagedDependency
(Dependency dependency) Adds the specified managed dependency.ArtifactDescriptorResult.addRelocation
(Artifact artifact) Records the specified relocation hop while locating the artifact descriptor.ArtifactDescriptorResult.addRepository
(RemoteRepository repository) Adds the specified remote repository.ArtifactDescriptorException.getResult()
Gets the descriptor result at the point the exception occurred.ArtifactDescriptorResult.setAliases
(Collection<Artifact> aliases) Sets the aliases of the artifact.ArtifactDescriptorResult.setArtifact
(Artifact artifact) Sets the artifact whose descriptor was read.ArtifactDescriptorResult.setDependencies
(List<Dependency> dependencies) Sets the list of direct dependencies of the artifact.ArtifactDescriptorResult.setExceptions
(List<Exception> exceptions) Sets the exceptions that occurred while reading the artifact descriptor.ArtifactDescriptorResult.setManagedDependencies
(List<Dependency> dependencies) Sets the dependency management information.ArtifactDescriptorResult.setProperties
(Map<String, Object> properties) Sets any additional information about the artifact in form of key-value pairs.ArtifactDescriptorResult.setRelocations
(List<Artifact> relocations) Sets the relocations that were processed to read the artifact descriptor.ArtifactDescriptorResult.setRepositories
(List<RemoteRepository> repositories) Sets the remote repositories listed in the artifact descriptor.ArtifactDescriptorResult.setRepository
(ArtifactRepository repository) Sets the repository from which the descriptor was resolved.ModifierConstructorDescriptionCreates a new exception with the specified result.ArtifactDescriptorException
(ArtifactDescriptorResult result, String message) Creates a new exception with the specified result and detail message.ArtifactDescriptorException
(ArtifactDescriptorResult result, String message, Throwable cause) Creates a new exception with the specified result, detail message and cause.