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 | 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(Collection<? extends Artifact> artifacts,
Collection<? extends Metadata> metadatas)
Acquires synchronized access to the specified artifacts and metadatas.
|
Modifier and Type | Method and Description |
---|---|
Collection<Metadata> |
DeployResult.getMetadata()
Gets the metadata that got deployed.
|
Collection<Metadata> |
DeployRequest.getMetadata()
Gets the metadata to deploy.
|
Modifier and Type | Method and Description |
---|---|
DeployResult |
DeployResult.addMetadata(Metadata metadata)
Adds the specified metadata to this result.
|
DeployRequest |
DeployRequest.addMetadata(Metadata metadata)
Adds the specified metadata for deployment.
|
Modifier and Type | Method and Description |
---|---|
DeployResult |
DeployResult.setMetadata(Collection<Metadata> metadata)
Sets the metadata that got deployed.
|
DeployRequest |
DeployRequest.setMetadata(Collection<Metadata> metadata)
Sets the metadata to deploy.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 | Method and Description |
---|---|
Collection<Metadata> |
InstallResult.getMetadata()
Gets the metadata that got installed.
|
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(Collection<Metadata> metadata)
Sets the metadata that got installed.
|
InstallRequest |
InstallRequest.setMetadata(Collection<Metadata> metadata)
Sets the metadata to install.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultUpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check) |
void |
DefaultUpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check) |
Modifier and Type | Method and Description |
---|---|
Set<Metadata> |
TestLocalRepositoryManager.getMetadataRegistration() |
Modifier and Type | Method and Description |
---|---|
String |
TestLocalRepositoryManager.getPathForLocalMetadata(Metadata metadata) |
String |
TestLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
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 |
---|---|
Metadata |
Metadata.setFile(File file)
Sets the file of the metadata.
|
Metadata |
AbstractMetadata.setFile(File file) |
Metadata |
Metadata.setProperties(Map<String,String> properties)
Sets the properties for the metadata.
|
Metadata |
AbstractMetadata.setProperties(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Metadata |
LocalMetadataRequest.getMetadata()
Gets the metadata to query for.
|
Metadata |
LocalMetadataRegistration.getMetadata()
Gets the metadata to register.
|
Modifier and Type | Method and Description |
---|---|
String |
LocalRepositoryManager.getPathForLocalMetadata(Metadata metadata)
Gets the relative path for locally installed metadata.
|
String |
LocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
String context)
Gets the relative path for metadata cached from a remote repository.
|
LocalMetadataRequest |
LocalMetadataRequest.setMetadata(Metadata metadata)
Sets the metadata to query for.
|
LocalMetadataRegistration |
LocalMetadataRegistration.setMetadata(Metadata metadata)
Sets the metadata to register.
|
Constructor and Description |
---|
LocalMetadataRegistration(Metadata metadata)
Creates a registration request for the specified metadata accompanying a locally installed artifact.
|
LocalMetadataRegistration(Metadata metadata,
RemoteRepository repository,
Collection<String> contexts)
Creates a registration request for the specified metadata.
|
LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
Creates a query with the specified properties.
|
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,
String context)
Creates a request with the specified properties.
|
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) |
MetadataTransfer |
MetadataTransfer.setMetadata(Metadata metadata)
Sets the metadata to transfer.
|
MetadataDownload |
MetadataDownload.setMetadata(Metadata metadata) |
Constructor and Description |
---|
MetadataDownload(Metadata metadata,
String context,
File file,
String checksumPolicy)
Creates a new download with the specified properties.
|
MetadataUpload(Metadata metadata,
File file)
Creates a new upload with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
List<RepositoryLayout.Checksum> |
RepositoryLayout.getChecksums(Metadata metadata,
boolean upload,
URI location)
Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the
specified metadata.
|
URI |
RepositoryLayout.getLocation(Metadata metadata,
boolean upload)
Gets the location within a remote repository where the specified metadata resides.
|
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,
String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
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) |
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.