Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.deployment |
The types supporting the publishing of artifacts to a remote repository.
|
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.metadata |
The definition of metadata, that is an auxiliary entity managed by the repository system to locate artifacts.
|
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.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 Metadata |
RepositoryEvent.metadata |
(package private) Metadata |
RepositoryEvent.Builder.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
RepositoryEvent.getMetadata()
Gets the metadata involved in the event (if any).
|
Modifier and Type | Method and Description |
---|---|
RepositoryEvent.Builder |
RepositoryEvent.Builder.setMetadata(Metadata metadata)
Sets the metadata 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 | Field and Description |
---|---|
private java.util.Collection<Metadata> |
DeployRequest.metadata |
private java.util.Collection<Metadata> |
DeployResult.metadata |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Metadata> |
DeployRequest.getMetadata()
Gets the metadata to deploy.
|
java.util.Collection<Metadata> |
DeployResult.getMetadata()
Gets the metadata that got deployed.
|
Modifier and Type | Method and Description |
---|---|
DeployRequest |
DeployRequest.addMetadata(Metadata metadata)
Adds the specified metadata for deployment.
|
DeployResult |
DeployResult.addMetadata(Metadata metadata)
Adds the specified metadata to this result.
|
Modifier and Type | Method and Description |
---|---|
DeployRequest |
DeployRequest.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata to deploy.
|
DeployResult |
DeployResult.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata that got deployed.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Checks whether metadata has to be updated from a remote repository.
|
void |
UpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Updates the timestamp for the metadata contained in the update check.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Metadata> |
InstallResult.metadata |
private java.util.Collection<Metadata> |
InstallRequest.metadata |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Metadata> |
InstallResult.getMetadata()
Gets the metadata that got installed.
|
java.util.Collection<Metadata> |
InstallRequest.getMetadata()
Gets the metadata to install.
|
Modifier and Type | Method and Description |
---|---|
InstallResult |
InstallResult.addMetadata(Metadata metadata)
Adds the specified metadata to this result.
|
InstallRequest |
InstallRequest.addMetadata(Metadata metadata)
Adds the specified metadata for installation.
|
Modifier and Type | Method and Description |
---|---|
InstallResult |
InstallResult.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata that got installed.
|
InstallRequest |
InstallRequest.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata to install.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<UpdateCheck<Metadata,MetadataTransferException>> |
DefaultMetadataResolver.ResolveTask.checks |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RepositoryLayout.Checksum> |
Maven2RepositoryLayoutFactory.Maven2RepositoryLayout.getChecksums(Metadata metadata,
boolean upload,
java.net.URI location) |
private java.lang.String |
DefaultUpdateCheckManager.getDataKey(Metadata metadata,
java.io.File metadataFile,
RemoteRepository repository) |
private java.io.File |
DefaultMetadataResolver.getLocalFile(RepositorySystemSession session,
Metadata metadata) |
java.net.URI |
Maven2RepositoryLayoutFactory.Maven2RepositoryLayout.getLocation(Metadata metadata,
boolean upload) |
private java.lang.String |
SimpleLocalRepositoryManager.getPath(Metadata metadata,
java.lang.String repositoryKey) |
java.lang.String |
SimpleLocalRepositoryManager.getPathForLocalMetadata(Metadata metadata) |
java.lang.String |
SimpleLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
java.lang.String context) |
static int |
Utils.getPolicy(RepositorySystemSession session,
Metadata metadata,
RemoteRepository repository) |
private java.io.File |
DefaultUpdateCheckManager.getTouchFile(Metadata metadata,
java.io.File metadataFile) |
private java.lang.String |
DefaultUpdateCheckManager.getTransferKey(RepositorySystemSession session,
Metadata metadata,
java.io.File metadataFile,
RemoteRepository repository) |
private void |
DefaultInstaller.install(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata) |
void |
DefaultDeployer.EventCatapult.metadataDeployed(Metadata metadata,
java.io.File file,
java.lang.Exception exception) |
void |
DefaultDeployer.EventCatapult.metadataDeploying(Metadata metadata,
java.io.File file) |
private void |
DefaultMetadataResolver.metadataDownloaded(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata,
ArtifactRepository repository,
java.io.File file,
java.lang.Exception exception) |
private void |
DefaultMetadataResolver.metadataDownloading(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata,
ArtifactRepository repository) |
private void |
DefaultInstaller.metadataInstalled(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata,
java.io.File dstFile,
java.lang.Exception exception) |
private void |
DefaultInstaller.metadataInstalling(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata,
java.io.File dstFile) |
private void |
DefaultMetadataResolver.metadataResolved(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata,
ArtifactRepository repository,
java.lang.Exception exception) |
private void |
DefaultMetadataResolver.metadataResolving(RepositorySystemSession session,
RequestTrace trace,
Metadata metadata,
ArtifactRepository repository) |
private MetadataTransferException |
DefaultUpdateCheckManager.newException(java.lang.String error,
Metadata metadata,
RemoteRepository repository) |
private void |
DefaultDeployer.upload(java.util.Collection<MetadataUpload> metadataUploads,
RepositorySystemSession session,
Metadata metadata,
RemoteRepository repository,
RepositoryConnector connector,
DefaultDeployer.EventCatapult catapult) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSyncContextFactory.DefaultSyncContext.acquire(java.util.Collection<? extends Artifact> artifact,
java.util.Collection<? extends Metadata> metadata) |
void |
DefaultUpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check) |
void |
DefaultUpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check) |
Constructor and Description |
---|
ResolveTask(RepositorySystemSession session,
RequestTrace trace,
MetadataResult result,
java.io.File metadataFile,
java.util.List<UpdateCheck<Metadata,MetadataTransferException>> checks,
java.lang.String policy) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Metadata> |
TestLocalRepositoryManager.metadataRegistrations |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Metadata> |
TestLocalRepositoryManager.getMetadataRegistration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TestLocalRepositoryManager.getPathForLocalMetadata(Metadata metadata) |
java.lang.String |
TestLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
java.lang.String context) |
Modifier and Type | Interface and Description |
---|---|
interface |
MergeableMetadata
A piece of metadata that needs to be merged with any current metadata before installation/deployment.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetadata
A skeleton class for metadata.
|
class |
DefaultMetadata
A basic metadata instance.
|
Modifier and Type | Method and Description |
---|---|
private Metadata |
AbstractMetadata.newInstance(java.util.Map<java.lang.String,java.lang.String> properties,
java.io.File file) |
Metadata |
Metadata.setFile(java.io.File file)
Sets the file of the metadata.
|
Metadata |
AbstractMetadata.setFile(java.io.File file) |
Metadata |
Metadata.setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties for the metadata.
|
Metadata |
AbstractMetadata.setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Modifier and Type | Field and Description |
---|---|
private Metadata |
LocalMetadataRegistration.metadata |
private Metadata |
LocalMetadataRequest.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
LocalMetadataRegistration.getMetadata()
Gets the metadata to register.
|
Metadata |
LocalMetadataRequest.getMetadata()
Gets the metadata to query for.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
LocalRepositoryManager.getPathForLocalMetadata(Metadata metadata)
Gets the relative path for locally installed metadata.
|
java.lang.String |
LocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
java.lang.String context)
Gets the relative path for metadata cached from a remote repository.
|
LocalMetadataRegistration |
LocalMetadataRegistration.setMetadata(Metadata metadata)
Sets the metadata to register.
|
LocalMetadataRequest |
LocalMetadataRequest.setMetadata(Metadata metadata)
Sets the metadata to query for.
|
Constructor and Description |
---|
LocalMetadataRegistration(Metadata metadata)
Creates a registration request for the specified metadata accompanying a locally installed artifact.
|
LocalMetadataRegistration(Metadata metadata,
RemoteRepository repository,
java.util.Collection<java.lang.String> contexts)
Creates a registration request for the specified metadata.
|
LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
java.lang.String context)
Creates a query with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private Metadata |
MetadataResult.metadata |
private Metadata |
MetadataRequest.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataResult.getMetadata()
Gets the resolved metadata (if any).
|
Metadata |
MetadataRequest.getMetadata()
Gets the metadata to resolve.
|
Modifier and Type | Method and Description |
---|---|
MetadataResult |
MetadataResult.setMetadata(Metadata metadata)
Sets the resolved metadata.
|
MetadataRequest |
MetadataRequest.setMetadata(Metadata metadata)
Sets the metadata to resolve.
|
Modifier and Type | Method and Description |
---|---|
int |
ResolutionErrorPolicy.getMetadataPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Metadata> request)
Gets the error policy for some metadata.
|
Constructor and Description |
---|
MetadataRequest(Metadata metadata)
Creates a request to resolve the specified metadata from the local repository.
|
MetadataRequest(Metadata metadata,
RemoteRepository repository,
java.lang.String context)
Creates a request with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private Metadata |
MetadataTransfer.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataTransfer.getMetadata()
Gets the metadata being transferred.
|
Modifier and Type | Method and Description |
---|---|
MetadataUpload |
MetadataUpload.setMetadata(Metadata metadata) |
MetadataDownload |
MetadataDownload.setMetadata(Metadata metadata) |
MetadataTransfer |
MetadataTransfer.setMetadata(Metadata metadata)
Sets the metadata to transfer.
|
Constructor and Description |
---|
MetadataDownload(Metadata metadata,
java.lang.String context,
java.io.File file,
java.lang.String checksumPolicy)
Creates a new download with the specified properties.
|
MetadataUpload(Metadata metadata,
java.io.File file)
Creates a new upload with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RepositoryLayout.Checksum> |
RepositoryLayout.getChecksums(Metadata metadata,
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 metadata.
|
java.net.URI |
RepositoryLayout.getLocation(Metadata metadata,
boolean upload)
Gets the location within a remote repository where the specified metadata resides.
|
Modifier and Type | Field and Description |
---|---|
private Metadata |
MetadataTransferException.metadata |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataTransferException.getMetadata()
Gets the metadata that could not be transferred.
|
Constructor and Description |
---|
MetadataNotFoundException(Metadata metadata,
LocalRepository repository)
Creates a new exception with the specified metadata and local repository.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository)
Creates a new exception with the specified metadata and repository.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.Throwable cause)
Creates a new exception with the specified metadata, repository and cause.
|
Modifier and Type | Method and Description |
---|---|
int |
SimpleResolutionErrorPolicy.getMetadataPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Metadata> request) |