Uses of Interface
org.eclipse.aether.artifact.Artifact
-
Packages that use Artifact Package Description org.apache.maven.resolver.examples.resolver org.eclipse.aether The primary API of theRepositorySystem
and its functionality.org.eclipse.aether.artifact The definition of an artifact, that is the primary entity managed by the repository system.org.eclipse.aether.collection The types and extension points for collecting the transitive dependencies of an artifact and building a dependency graph.org.eclipse.aether.deployment The types supporting the publishing of artifacts to a remote repository.org.eclipse.aether.graph The representation of a dependency graph by means of connected dependency nodes.org.eclipse.aether.impl The provisional interfaces defining the various sub components that implement the repository system.org.eclipse.aether.installation The types supporting the publishing of artifacts to a local repository.org.eclipse.aether.internal.impl The various sub components that collectively implement the repository system.org.eclipse.aether.internal.test.util Utility classes to ease unit testing.org.eclipse.aether.repository The definition of various kinds of repositories that host artifacts.org.eclipse.aether.resolution The types supporting the resolution of artifacts and metadata from repositories.org.eclipse.aether.spi.connector The contract to access artifacts/metadata in remote repositories.org.eclipse.aether.spi.connector.layout The contract to locate URI-based resources using custom repository layouts.org.eclipse.aether.transfer A listener and various exception types dealing with the transfer of a resource between the local system and a remote repository.org.eclipse.aether.transform org.eclipse.aether.util.artifact Utilities around artifacts and artifact type registries.org.eclipse.aether.util.filter Various dependency filters for selecting nodes in a dependency graph.org.eclipse.aether.util.repository Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities. -
-
Uses of Artifact in org.apache.maven.resolver.examples.resolver
Methods in org.apache.maven.resolver.examples.resolver with parameters of type Artifact Modifier and Type Method Description void
Resolver. deploy(Artifact artifact, Artifact pom, String remoteRepository)
void
Resolver. install(Artifact artifact, Artifact pom)
-
Uses of Artifact in org.eclipse.aether
Methods in org.eclipse.aether that return Artifact Modifier and Type Method Description Artifact
RepositoryEvent. getArtifact()
Gets the artifact involved in the event (if any).Methods in org.eclipse.aether with parameters of type Artifact Modifier and Type Method Description RepositoryEvent.Builder
RepositoryEvent.Builder. setArtifact(Artifact artifact)
Sets the artifact involved in the event.Method parameters in org.eclipse.aether with type arguments of type Artifact Modifier and Type Method Description void
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
Classes in org.eclipse.aether.artifact that implement Artifact Modifier and Type Class Description class
AbstractArtifact
A skeleton class for artifacts.class
DefaultArtifact
A simple artifact.Methods in org.eclipse.aether.artifact that return Artifact Modifier and Type Method Description Artifact
AbstractArtifact. setFile(File file)
Artifact
Artifact. setFile(File file)
Sets the file of the artifact.Artifact
AbstractArtifact. setProperties(Map<String,String> properties)
Artifact
Artifact. setProperties(Map<String,String> properties)
Sets the properties for the artifact.Artifact
AbstractArtifact. setVersion(String version)
Artifact
Artifact. setVersion(String version)
Sets the version of the artifact. -
Uses of Artifact in org.eclipse.aether.collection
Methods in org.eclipse.aether.collection that return Artifact Modifier and Type Method Description Artifact
DependencyCollectionContext. getArtifact()
Gets the artifact whose children are to be processed next during dependency collection.Artifact
CollectRequest. getRootArtifact()
Gets the root artifact for the dependency graph.Methods in org.eclipse.aether.collection with parameters of type Artifact Modifier and Type Method Description CollectRequest
CollectRequest. setRootArtifact(Artifact rootArtifact)
Sets the root artifact for the dependency graph. -
Uses of Artifact in org.eclipse.aether.deployment
Methods in org.eclipse.aether.deployment that return types with arguments of type Artifact Modifier and Type Method Description Collection<Artifact>
DeployRequest. getArtifacts()
Gets the artifact to deploy.Collection<Artifact>
DeployResult. getArtifacts()
Gets the artifacts that got deployed.Methods in org.eclipse.aether.deployment with parameters of type Artifact Modifier and Type Method Description DeployRequest
DeployRequest. addArtifact(Artifact artifact)
Adds the specified artifacts for deployment.DeployResult
DeployResult. addArtifact(Artifact artifact)
Adds the specified artifacts to the result.Method parameters in org.eclipse.aether.deployment with type arguments of type Artifact Modifier and Type Method Description DeployRequest
DeployRequest. setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts to deploy.DeployResult
DeployResult. setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts that got deployed. -
Uses of Artifact in org.eclipse.aether.graph
Methods in org.eclipse.aether.graph that return Artifact Modifier and Type Method Description Artifact
DefaultDependencyNode. getArtifact()
Artifact
Dependency. getArtifact()
Gets the artifact being depended on.Artifact
DependencyNode. getArtifact()
Gets the artifact associated with this node.Methods in org.eclipse.aether.graph that return types with arguments of type Artifact Modifier and Type Method Description Collection<? extends Artifact>
DefaultDependencyNode. getAliases()
Collection<? extends Artifact>
DependencyNode. getAliases()
Gets the known aliases for this dependency's artifact.List<? extends Artifact>
DefaultDependencyNode. getRelocations()
List<? extends Artifact>
DependencyNode. getRelocations()
Gets the sequence of relocations that was followed to resolve the artifact referenced by the dependency.Methods in org.eclipse.aether.graph with parameters of type Artifact Modifier and Type Method Description void
DefaultDependencyNode. setArtifact(Artifact artifact)
Dependency
Dependency. setArtifact(Artifact artifact)
Sets the artifact being depended on.void
DependencyNode. setArtifact(Artifact artifact)
Updates the artifact of the dependency after resolution.Method parameters in org.eclipse.aether.graph with type arguments of type Artifact Modifier and Type Method Description void
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.Constructors in org.eclipse.aether.graph with parameters of type Artifact Constructor Description DefaultDependencyNode(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.impl
Methods in org.eclipse.aether.impl that return Artifact Modifier and Type Method Description Artifact
MetadataGenerator. transformArtifact(Artifact artifact)
Enables the metadata generator to transform the specified artifact.Methods in org.eclipse.aether.impl with parameters of type Artifact Modifier and Type Method Description Artifact
MetadataGenerator. transformArtifact(Artifact artifact)
Enables the metadata generator to transform the specified artifact.Method parameters in org.eclipse.aether.impl with type arguments of type Artifact Modifier and Type Method Description void
UpdateCheckManager. checkArtifact(RepositorySystemSession session, UpdateCheck<Artifact,ArtifactTransferException> check)
Checks whether an artifact has to be updated from a remote repository.Collection<? extends Metadata>
MetadataGenerator. finish(Collection<? extends Artifact> artifacts)
Allows for metadata generation based on the transformed artifacts.Collection<? extends Metadata>
MetadataGenerator. prepare(Collection<? extends Artifact> artifacts)
Prepares the generator to transform artifacts.void
UpdateCheckManager. touchArtifact(RepositorySystemSession session, UpdateCheck<Artifact,ArtifactTransferException> check)
Updates the timestamp for the artifact contained in the update check. -
Uses of Artifact in org.eclipse.aether.installation
Methods in org.eclipse.aether.installation that return types with arguments of type Artifact Modifier and Type Method Description Collection<Artifact>
InstallRequest. getArtifacts()
Gets the artifact to install.Collection<Artifact>
InstallResult. getArtifacts()
Gets the artifacts that got installed.Methods in org.eclipse.aether.installation with parameters of type Artifact Modifier and Type Method Description InstallRequest
InstallRequest. addArtifact(Artifact artifact)
Adds the specified artifacts for installation.InstallResult
InstallResult. addArtifact(Artifact artifact)
Adds the specified artifacts to the result.Method parameters in org.eclipse.aether.installation with type arguments of type Artifact Modifier and Type Method Description InstallRequest
InstallRequest. setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts to install.InstallResult
InstallResult. setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts that got installed. -
Uses of Artifact in org.eclipse.aether.internal.impl
Method parameters in org.eclipse.aether.internal.impl with type arguments of type Artifact Modifier and Type Method Description void
DefaultUpdateCheckManager. checkArtifact(RepositorySystemSession session, UpdateCheck<Artifact,ArtifactTransferException> check)
void
DefaultUpdateCheckManager. touchArtifact(RepositorySystemSession session, UpdateCheck<Artifact,ArtifactTransferException> check)
-
Uses of Artifact in org.eclipse.aether.internal.test.util
Methods in org.eclipse.aether.internal.test.util that return types with arguments of type Artifact Modifier and Type Method Description Set<Artifact>
TestLocalRepositoryManager. getArtifactRegistration()
Methods in org.eclipse.aether.internal.test.util with parameters of type Artifact Modifier and Type Method Description String
TestLocalRepositoryManager. getPathForLocalArtifact(Artifact artifact)
String
TestLocalRepositoryManager. getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context)
static DependencyCollectionContext
TestUtils. newCollectionContext(RepositorySystemSession session, Artifact artifact, Dependency dependency, List<Dependency> managedDependencies)
Creates a new dependency collection context.void
TestLocalRepositoryManager. setArtifactAvailability(Artifact artifact, boolean available)
-
Uses of Artifact in org.eclipse.aether.repository
Methods in org.eclipse.aether.repository that return Artifact Modifier and Type Method Description Artifact
LocalArtifactRegistration. getArtifact()
Gets the artifact to register.Artifact
LocalArtifactRequest. getArtifact()
Gets the artifact to query for.Methods in org.eclipse.aether.repository with parameters of type Artifact Modifier and Type Method Description File
WorkspaceReader. findArtifact(Artifact artifact)
Locates the specified artifact.List<String>
WorkspaceReader. findVersions(Artifact artifact)
Determines all available versions of the specified artifact.String
LocalRepositoryManager. getPathForLocalArtifact(Artifact artifact)
Gets the relative path for a locally installed artifact.String
LocalRepositoryManager. getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context)
Gets the relative path for an artifact cached from a remote repository.LocalArtifactRegistration
LocalArtifactRegistration. setArtifact(Artifact artifact)
Sets the artifact to register.LocalArtifactRequest
LocalArtifactRequest. setArtifact(Artifact artifact)
Sets the artifact to query for.Constructors in org.eclipse.aether.repository with parameters of type Artifact Constructor Description LocalArtifactRegistration(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
Methods in org.eclipse.aether.resolution that return Artifact Modifier and Type Method Description Artifact
ArtifactDescriptorPolicyRequest. getArtifact()
Gets the artifact for whose descriptor to determine the error policy.Artifact
ArtifactDescriptorRequest. getArtifact()
Gets the artifact whose descriptor shall be read.Artifact
ArtifactDescriptorResult. getArtifact()
Gets the artifact whose descriptor was read.Artifact
ArtifactRequest. getArtifact()
Gets the artifact to resolve.Artifact
ArtifactResult. getArtifact()
Gets the resolved artifact (if any).Artifact
VersionRangeRequest. getArtifact()
Gets the artifact whose version range shall be resolved.Artifact
VersionRequest. getArtifact()
Gets the artifact whose (meta-)version shall be resolved.Methods in org.eclipse.aether.resolution that return types with arguments of type Artifact Modifier and Type Method Description Collection<Artifact>
ArtifactDescriptorResult. getAliases()
Gets the known aliases for this artifact.List<Artifact>
ArtifactDescriptorResult. getRelocations()
Gets the relocations that were processed to read the artifact descriptor.Methods in org.eclipse.aether.resolution with parameters of type Artifact Modifier and Type Method Description ArtifactDescriptorResult
ArtifactDescriptorResult. addAlias(Artifact alias)
Records the specified alias.ArtifactDescriptorResult
ArtifactDescriptorResult. addRelocation(Artifact artifact)
Records the specified relocation hop while locating the artifact descriptor.ArtifactDescriptorPolicyRequest
ArtifactDescriptorPolicyRequest. setArtifact(Artifact artifact)
Sets the artifact for whose descriptor to determine the error policy.ArtifactDescriptorRequest
ArtifactDescriptorRequest. setArtifact(Artifact artifact)
Sets the artifact whose descriptor shall be read.ArtifactDescriptorResult
ArtifactDescriptorResult. setArtifact(Artifact artifact)
Sets the artifact whose descriptor was read.ArtifactRequest
ArtifactRequest. setArtifact(Artifact artifact)
Sets the artifact to resolve.ArtifactResult
ArtifactResult. setArtifact(Artifact artifact)
Sets the resolved artifact.VersionRangeRequest
VersionRangeRequest. setArtifact(Artifact artifact)
Sets the artifact whose version range shall be resolved.VersionRequest
VersionRequest. setArtifact(Artifact artifact)
Sets the artifact whose (meta-)version shall be resolved.Method parameters in org.eclipse.aether.resolution with type arguments of type Artifact Modifier and Type Method Description int
ResolutionErrorPolicy. getArtifactPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request)
Gets the error policy for an artifact.ArtifactDescriptorResult
ArtifactDescriptorResult. setAliases(Collection<Artifact> aliases)
Sets the aliases of the artifact.ArtifactDescriptorResult
ArtifactDescriptorResult. setRelocations(List<Artifact> relocations)
Sets the relocations that were processed to read the artifact descriptor.Constructors in org.eclipse.aether.resolution with parameters of type Artifact Constructor Description ArtifactDescriptorPolicyRequest(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.spi.connector
Methods in org.eclipse.aether.spi.connector that return Artifact Modifier and Type Method Description Artifact
ArtifactTransfer. getArtifact()
Gets the artifact being transferred.Methods in org.eclipse.aether.spi.connector with parameters of type Artifact Modifier and Type Method Description ArtifactDownload
ArtifactDownload. setArtifact(Artifact artifact)
ArtifactTransfer
ArtifactTransfer. setArtifact(Artifact artifact)
Sets the artifact to transfer.ArtifactUpload
ArtifactUpload. setArtifact(Artifact artifact)
Constructors in org.eclipse.aether.spi.connector with parameters of type Artifact Constructor Description ArtifactDownload(Artifact artifact, String context, File file, String checksumPolicy)
Creates a new download with the specified properties.ArtifactUpload(Artifact artifact, File file)
Creates a new upload with the specified properties.ArtifactUpload(Artifact artifact, File file, FileTransformer fileTransformer)
Creates a new upload with the specified properties. -
Uses of Artifact in org.eclipse.aether.spi.connector.layout
Methods in org.eclipse.aether.spi.connector.layout with parameters of type Artifact Modifier and Type Method Description List<RepositoryLayout.Checksum>
RepositoryLayout. getChecksums(Artifact artifact, boolean upload, URI location)
Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the specified artifact.URI
RepositoryLayout. getLocation(Artifact artifact, boolean upload)
Gets the location within a remote repository where the specified artifact resides. -
Uses of Artifact in org.eclipse.aether.transfer
Methods in org.eclipse.aether.transfer that return Artifact Modifier and Type Method Description Artifact
ArtifactTransferException. getArtifact()
Gets the artifact that could not be transferred.Constructors in org.eclipse.aether.transfer with parameters of type Artifact Constructor Description 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. -
Uses of Artifact in org.eclipse.aether.transform
Methods in org.eclipse.aether.transform that return Artifact Modifier and Type Method Description Artifact
FileTransformer. transformArtifact(Artifact artifact)
Transform the target locationMethods in org.eclipse.aether.transform with parameters of type Artifact Modifier and Type Method Description Collection<FileTransformer>
FileTransformerManager. getTransformersForArtifact(Artifact artifact)
All transformers for this specific artifact.Artifact
FileTransformer. transformArtifact(Artifact artifact)
Transform the target location -
Uses of Artifact in org.eclipse.aether.util.artifact
Classes in org.eclipse.aether.util.artifact that implement Artifact Modifier and Type Class Description class
DelegatingArtifact
An artifact that delegates to another artifact instance.class
SubArtifact
An artifact whose identity is derived from another artifact.Methods in org.eclipse.aether.util.artifact that return Artifact Modifier and Type Method Description Artifact
DelegatingArtifact. setFile(File file)
Artifact
SubArtifact. setFile(File file)
Artifact
DelegatingArtifact. setProperties(Map<String,String> properties)
Artifact
SubArtifact. setProperties(Map<String,String> properties)
Artifact
DelegatingArtifact. setVersion(String version)
Methods in org.eclipse.aether.util.artifact with parameters of type Artifact Modifier and Type Method Description static boolean
ArtifactIdUtils. equalsBaseId(Artifact artifact1, Artifact artifact2)
Determines whether two artifacts have the same base identifier.static boolean
ArtifactIdUtils. equalsId(Artifact artifact1, Artifact artifact2)
Determines whether two artifacts have the same identifier.static boolean
ArtifactIdUtils. equalsVersionlessId(Artifact artifact1, Artifact artifact2)
Determines whether two artifacts have the same versionless identifier.protected abstract DelegatingArtifact
DelegatingArtifact. newInstance(Artifact delegate)
Creates a new artifact instance that delegates to the specified artifact.static String
ArtifactIdUtils. toBaseId(Artifact artifact)
Creates an artifact identifier of the form<groupId>:<artifactId>:<extension>[:<classifier>]:<baseVersion>
.static String
ArtifactIdUtils. toId(Artifact artifact)
Creates an artifact identifier of the form<groupId>:<artifactId>:<extension>[:<classifier>]:<version>
.static String
ArtifactIdUtils. toVersionlessId(Artifact artifact)
Creates an artifact identifier of the form<groupId>:<artifactId>:<extension>[:<classifier>]
.Constructors in org.eclipse.aether.util.artifact with parameters of type Artifact Constructor Description DelegatingArtifact(Artifact delegate)
Creates a new artifact instance that delegates to the specified artifact.SubArtifact(Artifact mainArtifact, String classifier, String extension)
Creates a new sub artifact.SubArtifact(Artifact mainArtifact, String classifier, String extension, File file)
Creates a new sub artifact.SubArtifact(Artifact mainArtifact, String classifier, String extension, Map<String,String> properties)
Creates a new sub artifact.SubArtifact(Artifact mainArtifact, String classifier, String extension, Map<String,String> properties, File file)
Creates a new sub artifact. -
Uses of Artifact in org.eclipse.aether.util.filter
Methods in org.eclipse.aether.util.filter with parameters of type Artifact Modifier and Type Method Description protected boolean
PatternExclusionsDependencyFilter. accept(Artifact artifact)
-
Uses of Artifact in org.eclipse.aether.util.repository
Methods in org.eclipse.aether.util.repository with parameters of type Artifact Modifier and Type Method Description File
ChainedWorkspaceReader. findArtifact(Artifact artifact)
List<String>
ChainedWorkspaceReader. findVersions(Artifact artifact)
Method parameters in org.eclipse.aether.util.repository with type arguments of type Artifact Modifier and Type Method Description int
SimpleResolutionErrorPolicy. getArtifactPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request)
-