Uses of Interface
org.eclipse.aether.artifact.Artifact
Package
Description
The primary API of the
RepositorySystem
and its functionality.The definition of an artifact, that is the primary entity managed by the repository system.
The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
The types supporting the publishing of artifacts to a remote repository.
The representation of a dependency graph by means of connected dependency nodes.
The types supporting the publishing of artifacts to a local repository.
The definition of various kinds of repositories that host artifacts.
The types supporting the resolution of artifacts and metadata from repositories.
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
-
Uses of Artifact in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositoryEvent.getArtifact()
Gets the artifact involved in the event (if any).Modifier and TypeMethodDescriptionRepositoryEvent.Builder.setArtifact
(Artifact artifact) Sets the artifact involved in the event.Modifier and TypeMethodDescriptionvoid
SyncContext.acquire
(Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) Acquires synchronized access to the specified artifacts and metadatas. -
Uses of Artifact in org.eclipse.aether.artifact
Modifier and TypeClassDescriptionclass
A skeleton class for artifacts.final class
A simple artifact.Modifier and TypeMethodDescriptionDeprecated.Deprecated.Sets the file of the artifact.AbstractArtifact.setProperties
(Map<String, String> properties) Artifact.setProperties
(Map<String, String> properties) Sets the properties for the artifact.AbstractArtifact.setVersion
(String version) Artifact.setVersion
(String version) Sets the version of the artifact. -
Uses of Artifact in org.eclipse.aether.collection
Modifier and TypeMethodDescriptionDependencyCollectionContext.getArtifact()
Gets the artifact whose children are to be processed next during dependency collection.CollectRequest.getRootArtifact()
Gets the root artifact for the dependency graph.Modifier and TypeMethodDescriptionCollectRequest.setRootArtifact
(Artifact rootArtifact) Sets the root artifact for the dependency graph. -
Uses of Artifact in org.eclipse.aether.deployment
Modifier and TypeMethodDescriptionDeployRequest.getArtifacts()
Gets the artifact to deploy.DeployResult.getArtifacts()
Gets the artifacts that got deployed.Modifier and TypeMethodDescriptionDeployRequest.addArtifact
(Artifact artifact) Adds the specified artifacts for deployment.DeployResult.addArtifact
(Artifact artifact) Adds the specified artifacts to the result.Modifier and TypeMethodDescriptionDeployRequest.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts to deploy.DeployResult.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts that got deployed. -
Uses of Artifact in org.eclipse.aether.graph
Modifier and TypeMethodDescriptionDefaultDependencyNode.getArtifact()
Dependency.getArtifact()
Gets the artifact being depended on.DependencyNode.getArtifact()
Gets the artifact associated with this node.Modifier and TypeMethodDescriptionCollection
<? extends Artifact> DefaultDependencyNode.getAliases()
Collection
<? extends Artifact> DependencyNode.getAliases()
Gets the known aliases for this dependency's artifact.DefaultDependencyNode.getRelocations()
DependencyNode.getRelocations()
Gets the sequence of relocations that was followed to resolve the artifact referenced by the dependency.Modifier and TypeMethodDescriptionvoid
DefaultDependencyNode.setArtifact
(Artifact artifact) Dependency.setArtifact
(Artifact artifact) Sets the artifact being depended on.void
DependencyNode.setArtifact
(Artifact artifact) Updates the artifact of the dependency after resolution.Modifier and TypeMethodDescriptionvoid
DefaultDependencyNode.setAliases
(Collection<? extends Artifact> aliases) Sets the known aliases for this dependency's artifact.void
DefaultDependencyNode.setRelocations
(List<? extends Artifact> relocations) Sets the sequence of relocations that was followed to resolve this dependency's artifact.ModifierConstructorDescriptionDefaultDependencyNode
(Artifact artifact) Creates a new root node with the specified artifact as its label.Dependency
(Artifact artifact, String scope) Creates a mandatory dependency on the specified artifact with the given scope.Dependency
(Artifact artifact, String scope, Boolean optional) Creates a dependency on the specified artifact with the given scope.Dependency
(Artifact artifact, String scope, Boolean optional, Collection<Exclusion> exclusions) Creates a dependency on the specified artifact with the given scope and exclusions. -
Uses of Artifact in org.eclipse.aether.installation
Modifier and TypeMethodDescriptionInstallRequest.getArtifacts()
Gets the artifact to install.InstallResult.getArtifacts()
Gets the artifacts that got installed.Modifier and TypeMethodDescriptionInstallRequest.addArtifact
(Artifact artifact) Adds the specified artifacts for installation.InstallResult.addArtifact
(Artifact artifact) Adds the specified artifacts to the result.Modifier and TypeMethodDescriptionInstallRequest.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts to install.InstallResult.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts that got installed. -
Uses of Artifact in org.eclipse.aether.repository
Modifier and TypeMethodDescriptionLocalArtifactRegistration.getArtifact()
Gets the artifact to register.LocalArtifactRequest.getArtifact()
Gets the artifact to query for.Modifier and TypeMethodDescriptionWorkspaceReader.findArtifact
(Artifact artifact) Locates the specified artifact.default Path
WorkspaceReader.findArtifactPath
(Artifact artifact) Locates the specified artifact.WorkspaceReader.findVersions
(Artifact artifact) Determines all available versions of the specified artifact.LocalRepositoryManager.getPathForLocalArtifact
(Artifact artifact) Gets the relative path for a locally installed artifact.LocalRepositoryManager.getPathForRemoteArtifact
(Artifact artifact, RemoteRepository repository, String context) Gets the relative path for an artifact cached from a remote repository.LocalArtifactRegistration.setArtifact
(Artifact artifact) Sets the artifact to register.LocalArtifactRequest.setArtifact
(Artifact artifact) Sets the artifact to query for.ModifierConstructorDescriptionLocalArtifactRegistration
(Artifact artifact) Creates a registration request for the specified (locally installed) artifact.LocalArtifactRegistration
(Artifact artifact, RemoteRepository repository, Collection<String> contexts) Creates a registration request for the specified artifact.LocalArtifactRequest
(Artifact artifact, List<RemoteRepository> repositories, String context) Creates a query with the specified properties. -
Uses of Artifact in org.eclipse.aether.resolution
Modifier and TypeMethodDescriptionArtifactDescriptorPolicyRequest.getArtifact()
Gets the artifact for whose descriptor to determine the error policy.ArtifactDescriptorRequest.getArtifact()
Gets the artifact whose descriptor shall be read.ArtifactDescriptorResult.getArtifact()
Gets the artifact whose descriptor was read.ArtifactRequest.getArtifact()
Gets the artifact to resolve.ArtifactResult.getArtifact()
Gets the resolved artifact (if any).VersionRangeRequest.getArtifact()
Gets the artifact whose version range shall be resolved.VersionRequest.getArtifact()
Gets the artifact whose (meta-)version shall be resolved.Modifier and TypeMethodDescriptionArtifactDescriptorResult.getAliases()
Gets the known aliases for this artifact.ArtifactDescriptorResult.getRelocations()
Gets the relocations that were processed to read the artifact descriptor.Modifier and TypeMethodDescriptionRecords the specified alias.ArtifactDescriptorResult.addRelocation
(Artifact artifact) Records the specified relocation hop while locating the artifact descriptor.ArtifactDescriptorPolicyRequest.setArtifact
(Artifact artifact) Sets the artifact for whose descriptor to determine the error policy.ArtifactDescriptorRequest.setArtifact
(Artifact artifact) Sets the artifact whose descriptor shall be read.ArtifactDescriptorResult.setArtifact
(Artifact artifact) Sets the artifact whose descriptor was read.ArtifactRequest.setArtifact
(Artifact artifact) Sets the artifact to resolve.ArtifactResult.setArtifact
(Artifact artifact) Sets the resolved artifact.VersionRangeRequest.setArtifact
(Artifact artifact) Sets the artifact whose version range shall be resolved.VersionRequest.setArtifact
(Artifact artifact) Sets the artifact whose (meta-)version shall be resolved.Modifier and TypeMethodDescriptionint
ResolutionErrorPolicy.getArtifactPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request) Gets the error policy for an artifact.ArtifactDescriptorResult.setAliases
(Collection<Artifact> aliases) Sets the aliases of the artifact.ArtifactDescriptorResult.setRelocations
(List<Artifact> relocations) Sets the relocations that were processed to read the artifact descriptor.ModifierConstructorDescriptionArtifactDescriptorPolicyRequest
(Artifact artifact, String context) Creates a request for the specified artifact.ArtifactDescriptorRequest
(Artifact artifact, List<RemoteRepository> repositories, String context) Creates a request with the specified properties.ArtifactRequest
(Artifact artifact, List<RemoteRepository> repositories, String context) Creates a request with the specified properties.VersionRangeRequest
(Artifact artifact, List<RemoteRepository> repositories, String context) Creates a request with the specified properties.VersionRequest
(Artifact artifact, List<RemoteRepository> repositories, String context) Creates a request with the specified properties. -
Uses of Artifact in org.eclipse.aether.scope
Modifier and TypeMethodDescriptionSystemDependencyScope.getSystemPath
(Artifact artifact) Returns system path string of provided artifact, ornull
. -
Uses of Artifact in org.eclipse.aether.transfer
Modifier and TypeMethodDescriptionArtifactTransferException.getArtifact()
Gets the artifact that could not be transferred.ModifierConstructorDescriptionArtifactFilteredOutException
(Artifact artifact, RemoteRepository repository, String message) Creates a new exception with the specified artifact, repository and detail message.ArtifactNotFoundException
(Artifact artifact, String localPath) Creates a new exception with the specified system artifact and expected local path.ArtifactNotFoundException
(Artifact artifact, RemoteRepository repository) Creates a new exception with the specified artifact and repository.ArtifactNotFoundException
(Artifact artifact, RemoteRepository repository, String message) Creates a new exception with the specified artifact, repository and detail message.ArtifactNotFoundException
(Artifact artifact, RemoteRepository repository, String message, boolean fromCache) Creates a new exception with the specified artifact, repository and detail message.ArtifactNotFoundException
(Artifact artifact, RemoteRepository repository, String message, Throwable cause) Creates a new exception with the specified artifact, repository, detail message and cause.ArtifactTransferException
(Artifact artifact, RemoteRepository repository, String message) Creates a new exception with the specified artifact, repository and detail message.ArtifactTransferException
(Artifact artifact, RemoteRepository repository, String message, boolean fromCache) Creates a new exception with the specified artifact, repository and detail message.ArtifactTransferException
(Artifact artifact, RemoteRepository repository, String message, Throwable cause) Creates a new exception with the specified artifact, repository, detail message and cause.ArtifactTransferException
(Artifact artifact, RemoteRepository repository, Throwable cause) Creates a new exception with the specified artifact, repository and cause.
setPath(Path)
instead.