Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem 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.impl.collect |
Internal helper classes for dependency collector.
|
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.graph.manager |
Various dependency managers for building a dependency graph.
|
org.eclipse.aether.util.graph.selector |
Various dependency selectors for building a dependency graph.
|
org.eclipse.aether.util.graph.transformer |
Various dependency graph transformers for post-processing a dependency graph.
|
org.eclipse.aether.util.graph.visitor |
Various dependency visitors for inspecting a dependency graph.
|
org.eclipse.aether.util.repository |
Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities.
|
Modifier and Type | Field and Description |
---|---|
private Artifact |
RepositoryEvent.artifact |
(package private) Artifact |
RepositoryEvent.Builder.artifact |
Modifier and Type | Method and Description |
---|---|
Artifact |
RepositoryEvent.getArtifact()
Gets the artifact involved in the event (if any).
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<FileTransformer> |
DefaultRepositorySystemSession.NullFileTransformerManager.getTransformersForArtifact(Artifact artifact) |
RepositoryEvent.Builder |
RepositoryEvent.Builder.setArtifact(Artifact artifact)
Sets the artifact involved in the event.
|
Modifier and Type | Method and Description |
---|---|
void |
SyncContext.acquire(java.util.Collection<? extends Artifact> artifacts,
java.util.Collection<? extends Metadata> metadatas)
Acquires synchronized access to the specified artifacts and metadatas.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractArtifact
A skeleton class for artifacts.
|
class |
DefaultArtifact
A simple artifact.
|
Modifier and Type | Method and Description |
---|---|
private Artifact |
AbstractArtifact.newInstance(java.lang.String version,
java.util.Map<java.lang.String,java.lang.String> properties,
java.io.File file)
Creates a new artifact with the specified coordinates, properties and file.
|
Artifact |
Artifact.setFile(java.io.File file)
Sets the file of the artifact.
|
Artifact |
AbstractArtifact.setFile(java.io.File file) |
Artifact |
Artifact.setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties for the artifact.
|
Artifact |
AbstractArtifact.setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Artifact |
Artifact.setVersion(java.lang.String version)
Sets the version of the artifact.
|
Artifact |
AbstractArtifact.setVersion(java.lang.String version) |
Modifier and Type | Field and Description |
---|---|
private Artifact |
CollectRequest.rootArtifact |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.setRootArtifact(Artifact rootArtifact)
Sets the root artifact for the dependency graph.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Artifact> |
DeployResult.artifacts |
private java.util.Collection<Artifact> |
DeployRequest.artifacts |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Artifact> |
DeployResult.getArtifacts()
Gets the artifacts that got deployed.
|
java.util.Collection<Artifact> |
DeployRequest.getArtifacts()
Gets the artifact to deploy.
|
Modifier and Type | Method and Description |
---|---|
DeployResult |
DeployResult.addArtifact(Artifact artifact)
Adds the specified artifacts to the result.
|
DeployRequest |
DeployRequest.addArtifact(Artifact artifact)
Adds the specified artifacts for deployment.
|
Modifier and Type | Method and Description |
---|---|
DeployResult |
DeployResult.setArtifacts(java.util.Collection<Artifact> artifacts)
Sets the artifacts that got deployed.
|
DeployRequest |
DeployRequest.setArtifacts(java.util.Collection<Artifact> artifacts)
Sets the artifacts to deploy.
|
Modifier and Type | Field and Description |
---|---|
private Artifact |
Dependency.artifact |
private Artifact |
DefaultDependencyNode.artifact |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<? extends Artifact> |
DefaultDependencyNode.aliases |
private java.util.List<? extends Artifact> |
DefaultDependencyNode.relocations |
Modifier and Type | Method and Description |
---|---|
Artifact |
Dependency.getArtifact()
Gets the artifact being depended on.
|
Artifact |
DefaultDependencyNode.getArtifact() |
Artifact |
DependencyNode.getArtifact()
Gets the artifact associated with this node.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends Artifact> |
DefaultDependencyNode.getAliases() |
java.util.Collection<? extends Artifact> |
DependencyNode.getAliases()
Gets the known aliases for this dependency's artifact.
|
java.util.List<? extends Artifact> |
DefaultDependencyNode.getRelocations() |
java.util.List<? extends Artifact> |
DependencyNode.getRelocations()
Gets the sequence of relocations that was followed to resolve the artifact referenced by the dependency.
|
Modifier and Type | Method and Description |
---|---|
Dependency |
Dependency.setArtifact(Artifact artifact)
Sets the artifact being depended on.
|
void |
DefaultDependencyNode.setArtifact(Artifact artifact) |
void |
DependencyNode.setArtifact(Artifact artifact)
Updates the artifact of the dependency after resolution.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setAliases(java.util.Collection<? extends Artifact> aliases)
Sets the known aliases for this dependency's artifact.
|
void |
DefaultDependencyNode.setRelocations(java.util.List<? extends Artifact> relocations)
Sets the sequence of relocations that was followed to resolve this dependency's artifact.
|
Constructor and Description |
---|
DefaultDependencyNode(Artifact artifact)
Creates a new root node with the specified artifact as its label.
|
Dependency(Artifact artifact,
java.lang.String scope)
Creates a mandatory dependency on the specified artifact with the given scope.
|
Dependency(Artifact artifact,
java.lang.String scope,
java.lang.Boolean optional)
Creates a dependency on the specified artifact with the given scope.
|
Dependency(Artifact artifact,
java.lang.String scope,
java.lang.Boolean optional,
java.util.Collection<Exclusion> exclusions)
Creates a dependency on the specified artifact with the given scope and exclusions.
|
Dependency(Artifact artifact,
java.lang.String scope,
java.util.Set<Exclusion> exclusions,
java.lang.Boolean optional) |
Modifier and Type | Method and Description |
---|---|
Artifact |
MetadataGenerator.transformArtifact(Artifact artifact)
Enables the metadata generator to transform the specified artifact.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
MetadataGenerator.transformArtifact(Artifact artifact)
Enables the metadata generator to transform the specified artifact.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateCheckManager.checkArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Checks whether an artifact has to be updated from a remote repository.
|
java.util.Collection<? extends Metadata> |
MetadataGenerator.finish(java.util.Collection<? extends Artifact> artifacts)
Allows for metadata generation based on the transformed artifacts.
|
java.util.Collection<? extends Metadata> |
MetadataGenerator.prepare(java.util.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.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Artifact> |
InstallRequest.artifacts |
private java.util.Collection<Artifact> |
InstallResult.artifacts |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Artifact> |
InstallRequest.getArtifacts()
Gets the artifact to install.
|
java.util.Collection<Artifact> |
InstallResult.getArtifacts()
Gets the artifacts that got installed.
|
Modifier and Type | Method and Description |
---|---|
InstallRequest |
InstallRequest.addArtifact(Artifact artifact)
Adds the specified artifacts for installation.
|
InstallResult |
InstallResult.addArtifact(Artifact artifact)
Adds the specified artifacts to the result.
|
Modifier and Type | Method and Description |
---|---|
InstallRequest |
InstallRequest.setArtifacts(java.util.Collection<Artifact> artifacts)
Sets the artifacts to install.
|
InstallResult |
InstallResult.setArtifacts(java.util.Collection<Artifact> artifacts)
Sets the artifacts that got installed.
|
Modifier and Type | Field and Description |
---|---|
(package private) Artifact |
DefaultArtifactResolver.ResolutionItem.artifact |
Modifier and Type | Field and Description |
---|---|
(package private) UpdateCheck<Artifact,ArtifactTransferException> |
DefaultArtifactResolver.ResolutionItem.updateCheck |
Modifier and Type | Method and Description |
---|---|
private void |
EnhancedLocalRepositoryManager.addArtifact(Artifact artifact,
java.util.Collection<java.lang.String> repositories,
boolean local) |
void |
DefaultDeployer.EventCatapult.artifactDeployed(Artifact artifact,
java.io.File file,
ArtifactTransferException exception) |
void |
DefaultDeployer.EventCatapult.artifactDeploying(Artifact artifact,
java.io.File file) |
private void |
DefaultArtifactResolver.artifactDownloaded(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
RemoteRepository repository,
java.lang.Exception exception) |
private void |
DefaultArtifactResolver.artifactDownloading(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
RemoteRepository repository) |
private void |
DefaultInstaller.artifactInstalled(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
java.io.File dstFile,
java.lang.Exception exception) |
private void |
DefaultInstaller.artifactInstalling(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
java.io.File dstFile) |
private void |
DefaultArtifactResolver.artifactResolved(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
ArtifactRepository repository,
java.util.List<java.lang.Exception> exceptions) |
private void |
DefaultArtifactResolver.artifactResolving(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact) |
java.util.List<RepositoryLayout.Checksum> |
Maven2RepositoryLayoutFactory.Maven2RepositoryLayout.getChecksums(Artifact artifact,
boolean upload,
java.net.URI location) |
java.util.List<RepositoryLayout.Checksum> |
Maven2RepositoryLayoutFactory.Maven2RepositoryLayoutEx.getChecksums(Artifact artifact,
boolean upload,
java.net.URI location) |
private java.lang.String |
DefaultUpdateCheckManager.getDataKey(Artifact artifact,
java.io.File artifactFile,
RemoteRepository repository) |
private java.io.File |
DefaultArtifactResolver.getFile(RepositorySystemSession session,
Artifact artifact,
java.io.File file) |
java.net.URI |
Maven2RepositoryLayoutFactory.Maven2RepositoryLayout.getLocation(Artifact artifact,
boolean upload) |
(package private) java.lang.String |
SimpleLocalRepositoryManager.getPathForArtifact(Artifact artifact,
boolean local) |
java.lang.String |
SimpleLocalRepositoryManager.getPathForLocalArtifact(Artifact artifact) |
java.lang.String |
SimpleLocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
java.lang.String context) |
static int |
Utils.getPolicy(RepositorySystemSession session,
Artifact artifact,
RemoteRepository repository) |
private java.io.File |
DefaultUpdateCheckManager.getTouchFile(Artifact artifact,
java.io.File artifactFile) |
private java.lang.String |
DefaultUpdateCheckManager.getTransferKey(RepositorySystemSession session,
Artifact artifact,
java.io.File artifactFile,
RemoteRepository repository) |
private void |
DefaultInstaller.install(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact) |
private void |
DefaultInstaller.install(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
LocalRepositoryManager lrm,
java.io.File srcFile,
FileTransformer fileTransformer) |
private ArtifactTransferException |
DefaultUpdateCheckManager.newException(java.lang.String error,
Artifact artifact,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSyncContextFactory.DefaultSyncContext.acquire(java.util.Collection<? extends Artifact> artifact,
java.util.Collection<? extends Metadata> metadata) |
void |
DefaultUpdateCheckManager.checkArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check) |
static java.util.List<Metadata> |
Utils.finishMetadata(java.util.List<? extends MetadataGenerator> generators,
java.util.List<? extends Artifact> artifacts) |
static java.util.List<Metadata> |
Utils.prepareMetadata(java.util.List<? extends MetadataGenerator> generators,
java.util.List<? extends Artifact> artifacts) |
void |
DefaultUpdateCheckManager.touchArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check) |
Constructor and Description |
---|
ResolutionItem(RequestTrace trace,
Artifact artifact,
java.util.concurrent.atomic.AtomicBoolean resolved,
ArtifactResult result,
LocalArtifactResult local,
RemoteRepository repository) |
Modifier and Type | Field and Description |
---|---|
private Artifact |
DefaultDependencyCollectionContext.artifact |
(package private) Artifact |
DataPool.GoodDescriptor.artifact |
private Artifact |
DataPool.ConstraintKey.artifact |
private Artifact |
DataPool.GraphKey.artifact |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Collection<Artifact> |
DataPool.GoodDescriptor.aliases |
private ObjectPool<Artifact> |
DataPool.artifacts |
(package private) java.util.List<Artifact> |
DataPool.GoodDescriptor.relocations |
Modifier and Type | Method and Description |
---|---|
Artifact |
DefaultDependencyCollectionContext.getArtifact() |
Artifact |
DataPool.intern(Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
int |
NodeStack.find(Artifact artifact) |
private static java.lang.String |
DefaultDependencyCollector.getId(Artifact a) |
Artifact |
DataPool.intern(Artifact artifact) |
private static boolean |
DefaultDependencyCollector.isLackingDescriptor(Artifact artifact) |
java.lang.Object |
DataPool.toKey(Artifact artifact,
java.util.List<RemoteRepository> repositories,
DependencySelector selector,
DependencyManager manager,
DependencyTraverser traverser,
VersionFilter filter) |
Modifier and Type | Method and Description |
---|---|
private static DefaultDependencyNode |
DefaultDependencyCollector.createDependencyNode(java.util.List<Artifact> relocations,
DefaultDependencyCollector.PremanagedDependency preManaged,
VersionRangeResult rangeResult,
Version version,
Dependency d,
ArtifactDescriptorResult descriptorResult,
DependencyNode cycleNode) |
private static DefaultDependencyNode |
DefaultDependencyCollector.createDependencyNode(java.util.List<Artifact> relocations,
DefaultDependencyCollector.PremanagedDependency preManaged,
VersionRangeResult rangeResult,
Version version,
Dependency d,
java.util.Collection<Artifact> aliases,
java.util.List<RemoteRepository> repos,
java.lang.String requestContext) |
private static DefaultDependencyNode |
DefaultDependencyCollector.createDependencyNode(java.util.List<Artifact> relocations,
DefaultDependencyCollector.PremanagedDependency preManaged,
VersionRangeResult rangeResult,
Version version,
Dependency d,
java.util.Collection<Artifact> aliases,
java.util.List<RemoteRepository> repos,
java.lang.String requestContext) |
private void |
DefaultDependencyCollector.processDependency(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency dependency,
java.util.List<Artifact> relocations,
boolean disableVersionManagement) |
Constructor and Description |
---|
DefaultDependencyCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies) |
GraphKey(Artifact artifact,
java.util.List<RemoteRepository> repositories,
DependencySelector selector,
DependencyManager manager,
DependencyTraverser traverser,
VersionFilter filter) |
Modifier and Type | Field and Description |
---|---|
private Artifact |
TestDependencyCollectionContext.artifact |
private Artifact |
ArtifactDescription.relocation |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Artifact> |
TestLocalRepositoryManager.artifactRegistrations |
private java.util.List<Artifact> |
NodeBuilder.relocations |
private java.util.Set<Artifact> |
TestLocalRepositoryManager.unavailableArtifacts |
Modifier and Type | Method and Description |
---|---|
Artifact |
TestDependencyCollectionContext.getArtifact() |
Artifact |
ArtifactDescription.getRelocation() |
private Artifact |
IniArtifactDataReader.relocation(java.util.List<java.lang.String> list) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Artifact> |
TestLocalRepositoryManager.getArtifactRegistration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TestLocalRepositoryManager.getPathForLocalArtifact(Artifact artifact) |
java.lang.String |
TestLocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
java.lang.String context) |
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
void |
TestLocalRepositoryManager.setArtifactAvailability(Artifact artifact,
boolean available) |
Constructor and Description |
---|
ArtifactDescription(Artifact relocation,
java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories) |
TestDependencyCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies) |
Modifier and Type | Field and Description |
---|---|
private Artifact |
LocalArtifactRegistration.artifact |
private Artifact |
LocalArtifactRequest.artifact |
Modifier and Type | Method and Description |
---|---|
Artifact |
LocalArtifactRegistration.getArtifact()
Gets the artifact to register.
|
Artifact |
LocalArtifactRequest.getArtifact()
Gets the artifact to query for.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
WorkspaceReader.findArtifact(Artifact artifact)
Locates the specified artifact.
|
java.util.List<java.lang.String> |
WorkspaceReader.findVersions(Artifact artifact)
Determines all available versions of the specified artifact.
|
java.lang.String |
LocalRepositoryManager.getPathForLocalArtifact(Artifact artifact)
Gets the relative path for a locally installed artifact.
|
java.lang.String |
LocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
java.lang.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.
|
Constructor and Description |
---|
LocalArtifactRegistration(Artifact artifact)
Creates a registration request for the specified (locally installed) artifact.
|
LocalArtifactRegistration(Artifact artifact,
RemoteRepository repository,
java.util.Collection<java.lang.String> contexts)
Creates a registration request for the specified artifact.
|
LocalArtifactRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a query with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private Artifact |
VersionRequest.artifact |
private Artifact |
ArtifactResult.artifact |
private Artifact |
ArtifactDescriptorResult.artifact |
private Artifact |
ArtifactDescriptorPolicyRequest.artifact |
private Artifact |
ArtifactDescriptorRequest.artifact |
private Artifact |
VersionRangeRequest.artifact |
private Artifact |
ArtifactRequest.artifact |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Artifact> |
ArtifactDescriptorResult.aliases |
private java.util.List<Artifact> |
ArtifactDescriptorResult.relocations |
Modifier and Type | Method and Description |
---|---|
Artifact |
VersionRequest.getArtifact()
Gets the artifact whose (meta-)version shall be resolved.
|
Artifact |
ArtifactResult.getArtifact()
Gets the resolved artifact (if any).
|
Artifact |
ArtifactDescriptorResult.getArtifact()
Gets the artifact whose descriptor was read.
|
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 |
VersionRangeRequest.getArtifact()
Gets the artifact whose version range shall be resolved.
|
Artifact |
ArtifactRequest.getArtifact()
Gets the artifact to resolve.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Artifact> |
ArtifactDescriptorResult.getAliases()
Gets the known aliases for this artifact.
|
java.util.List<Artifact> |
ArtifactDescriptorResult.getRelocations()
Gets the relocations that were processed to read the artifact descriptor.
|
Modifier and Type | Method and 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.
|
VersionRequest |
VersionRequest.setArtifact(Artifact artifact)
Sets the artifact whose (meta-)version shall be resolved.
|
ArtifactResult |
ArtifactResult.setArtifact(Artifact artifact)
Sets the resolved artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setArtifact(Artifact artifact)
Sets the artifact whose descriptor was read.
|
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.
|
VersionRangeRequest |
VersionRangeRequest.setArtifact(Artifact artifact)
Sets the artifact whose version range shall be resolved.
|
ArtifactRequest |
ArtifactRequest.setArtifact(Artifact artifact)
Sets the artifact to resolve.
|
Modifier and Type | Method and Description |
---|---|
int |
ResolutionErrorPolicy.getArtifactPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Artifact> request)
Gets the error policy for an artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setAliases(java.util.Collection<Artifact> aliases)
Sets the aliases of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRelocations(java.util.List<Artifact> relocations)
Sets the relocations that were processed to read the artifact descriptor.
|
Constructor and Description |
---|
ArtifactDescriptorPolicyRequest(Artifact artifact,
java.lang.String context)
Creates a request for the specified artifact.
|
ArtifactDescriptorRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
ArtifactRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
VersionRangeRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
VersionRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private Artifact |
ArtifactTransfer.artifact |
Modifier and Type | Method and Description |
---|---|
Artifact |
ArtifactTransfer.getArtifact()
Gets the artifact being transferred.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDownload |
ArtifactDownload.setArtifact(Artifact artifact) |
ArtifactTransfer |
ArtifactTransfer.setArtifact(Artifact artifact)
Sets the artifact to transfer.
|
ArtifactUpload |
ArtifactUpload.setArtifact(Artifact artifact) |
Constructor and Description |
---|
ArtifactDownload(Artifact artifact,
java.lang.String context,
java.io.File file,
java.lang.String checksumPolicy)
Creates a new download with the specified properties.
|
ArtifactUpload(Artifact artifact,
java.io.File file)
Creates a new upload with the specified properties.
|
ArtifactUpload(Artifact artifact,
java.io.File file,
FileTransformer fileTransformer)
Creates a new upload with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RepositoryLayout.Checksum> |
RepositoryLayout.getChecksums(Artifact artifact,
boolean upload,
java.net.URI location)
Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the
specified artifact.
|
java.net.URI |
RepositoryLayout.getLocation(Artifact artifact,
boolean upload)
Gets the location within a remote repository where the specified artifact resides.
|
Modifier and Type | Field and Description |
---|---|
private Artifact |
ArtifactTransferException.artifact |
Modifier and Type | Method and Description |
---|---|
Artifact |
ArtifactTransferException.getArtifact()
Gets the artifact that could not be transferred.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
ArtifactNotFoundException.getMessage(Artifact artifact,
RemoteRepository repository) |
Constructor and Description |
---|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository)
Creates a new exception with the specified artifact and repository.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.Throwable cause)
Creates a new exception with the specified artifact, repository and cause.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
FileTransformer.transformArtifact(Artifact artifact)
Transform the target location
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<FileTransformer> |
FileTransformerManager.getTransformersForArtifact(Artifact artifact)
All transformers for this specific artifact.
|
Artifact |
FileTransformer.transformArtifact(Artifact artifact)
Transform the target location
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingArtifact
An artifact that delegates to another artifact instance.
|
class |
SubArtifact
An artifact whose identity is derived from another artifact.
|
Modifier and Type | Field and Description |
---|---|
private Artifact |
DelegatingArtifact.delegate |
private Artifact |
SubArtifact.mainArtifact |
Modifier and Type | Method and Description |
---|---|
Artifact |
SubArtifact.setFile(java.io.File file) |
Artifact |
DelegatingArtifact.setFile(java.io.File file) |
Artifact |
SubArtifact.setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Artifact |
DelegatingArtifact.setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Artifact |
DelegatingArtifact.setVersion(java.lang.String version) |
Modifier and Type | Method and 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 java.lang.String |
ArtifactIdUtils.toBaseId(Artifact artifact)
Creates an artifact identifier of the form
<groupId>:<artifactId>:<extension>[:<classifier>]:<baseVersion> . |
static java.lang.String |
ArtifactIdUtils.toId(Artifact artifact)
Creates an artifact identifier of the form
<groupId>:<artifactId>:<extension>[:<classifier>]:<version> . |
static java.lang.String |
ArtifactIdUtils.toVersionlessId(Artifact artifact)
Creates an artifact identifier of the form
<groupId>:<artifactId>:<extension>[:<classifier>] . |
Constructor and Description |
---|
DelegatingArtifact(Artifact delegate)
Creates a new artifact instance that delegates to the specified artifact.
|
SubArtifact(Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension)
Creates a new sub artifact.
|
SubArtifact(Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.io.File file)
Creates a new sub artifact.
|
SubArtifact(Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.io.File file,
java.util.Map<java.lang.String,java.lang.String> properties) |
SubArtifact(Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates a new sub artifact.
|
SubArtifact(Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.util.Map<java.lang.String,java.lang.String> properties,
java.io.File file)
Creates a new sub artifact.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PatternExclusionsDependencyFilter.accept(Artifact artifact) |
protected boolean |
AbstractPatternDependencyFilter.accept(Artifact artifact) |
private boolean |
AbstractPatternDependencyFilter.accept(Artifact artifact,
java.lang.String pattern) |
Modifier and Type | Field and Description |
---|---|
private Artifact |
ClassicDependencyManager.Key.artifact |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
ClassicDependencyManager.getKey(Artifact a) |
Constructor and Description |
---|
Key(Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
private boolean |
ExclusionDependencySelector.matches(Exclusion exclusion,
Artifact artifact) |
Modifier and Type | Field and Description |
---|---|
(package private) Artifact |
ConflictResolver.ConflictItem.artifact |
private Artifact |
ConflictMarker.Key.artifact |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
ConflictMarker.toKey(Artifact artifact) |
Constructor and Description |
---|
Key(Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Artifact> |
AbstractDepthFirstNodeListGenerator.getArtifacts(boolean includeUnresolved)
Gets the artifacts associated with the list of dependency nodes generated during the graph traversal.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
ChainedWorkspaceReader.findArtifact(Artifact artifact) |
java.util.List<java.lang.String> |
ChainedWorkspaceReader.findVersions(Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
int |
SimpleResolutionErrorPolicy.getArtifactPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Artifact> request) |