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.installation |
The types supporting the publishing of artifacts to a local repository.
|
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.transfer |
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
RepositoryEvent.getArtifact()
Gets the artifact involved in the event (if any).
|
Modifier and Type | Method and Description |
---|---|
RepositoryEvent.Builder |
RepositoryEvent.Builder.setArtifact(Artifact artifact)
Sets the artifact involved in the event.
|
Modifier and Type | Method and Description |
---|---|
void |
SyncContext.acquire(Collection<? extends Artifact> artifacts,
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 |
---|---|
Artifact |
Artifact.setFile(File file)
Sets the file of the artifact.
|
Artifact |
AbstractArtifact.setFile(File file) |
Artifact |
Artifact.setProperties(Map<String,String> properties)
Sets the properties for the artifact.
|
Artifact |
AbstractArtifact.setProperties(Map<String,String> properties) |
Artifact |
Artifact.setVersion(String version)
Sets the version of the artifact.
|
Artifact |
AbstractArtifact.setVersion(String version) |
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 | Method and Description |
---|---|
Collection<Artifact> |
DeployResult.getArtifacts()
Gets the artifacts that got deployed.
|
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(Collection<Artifact> artifacts)
Sets the artifacts that got deployed.
|
DeployRequest |
DeployRequest.setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts to deploy.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
DependencyNode.getArtifact()
Gets the artifact associated with this node.
|
Artifact |
Dependency.getArtifact()
Gets the artifact being depended on.
|
Artifact |
DefaultDependencyNode.getArtifact() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Artifact> |
DependencyNode.getAliases()
Gets the known aliases for this dependency's artifact.
|
Collection<? extends Artifact> |
DefaultDependencyNode.getAliases() |
List<? extends Artifact> |
DependencyNode.getRelocations()
Gets the sequence of relocations that was followed to resolve the artifact referenced by the dependency.
|
List<? extends Artifact> |
DefaultDependencyNode.getRelocations() |
Modifier and Type | Method and Description |
---|---|
void |
DependencyNode.setArtifact(Artifact artifact)
Updates the artifact of the dependency after resolution.
|
Dependency |
Dependency.setArtifact(Artifact artifact)
Sets the artifact being depended on.
|
void |
DefaultDependencyNode.setArtifact(Artifact artifact) |
Modifier and Type | Method and 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.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Collection<Artifact> |
InstallResult.getArtifacts()
Gets the artifacts that got installed.
|
Collection<Artifact> |
InstallRequest.getArtifacts()
Gets the artifact to install.
|
Modifier and Type | Method and Description |
---|---|
InstallResult |
InstallResult.addArtifact(Artifact artifact)
Adds the specified artifacts to the result.
|
InstallRequest |
InstallRequest.addArtifact(Artifact artifact)
Adds the specified artifacts for installation.
|
Modifier and Type | Method and Description |
---|---|
InstallResult |
InstallResult.setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts that got installed.
|
InstallRequest |
InstallRequest.setArtifacts(Collection<Artifact> artifacts)
Sets the artifacts to install.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
LocalArtifactRequest.getArtifact()
Gets the artifact to query for.
|
Artifact |
LocalArtifactRegistration.getArtifact()
Gets the artifact to register.
|
Modifier and Type | Method and 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.
|
LocalArtifactRequest |
LocalArtifactRequest.setArtifact(Artifact artifact)
Sets the artifact to query for.
|
LocalArtifactRegistration |
LocalArtifactRegistration.setArtifact(Artifact artifact)
Sets the artifact to register.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
ArtifactDescriptorPolicyRequest.getArtifact()
Gets the artifact for whose descriptor to determine the error policy.
|
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 |
ArtifactDescriptorRequest.getArtifact()
Gets the artifact whose descriptor shall be read.
|
Artifact |
VersionRangeRequest.getArtifact()
Gets the artifact whose version range shall be resolved.
|
Artifact |
VersionRequest.getArtifact()
Gets the artifact whose (meta-)version shall be resolved.
|
Modifier and Type | Method and 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.
|
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.
|
ArtifactDescriptorPolicyRequest |
ArtifactDescriptorPolicyRequest.setArtifact(Artifact artifact)
Sets the artifact for whose descriptor to determine the error policy.
|
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.
|
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.
|
VersionRequest |
VersionRequest.setArtifact(Artifact artifact)
Sets the artifact whose (meta-)version shall be resolved.
|
Modifier and Type | Method and 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.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Artifact |
ArtifactTransferException.getArtifact()
Gets the artifact that could not be transferred.
|
Constructor and 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.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.