| 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.installation |
The types supporting the publishing of artifacts to a local repository.
|
| 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.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 |
|---|---|
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 | Method and Description |
|---|---|
java.util.Collection<Metadata> |
DeployResult.getMetadata()
Gets the metadata that got deployed.
|
java.util.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(java.util.Collection<Metadata> metadata)
Sets the metadata that got deployed.
|
DeployRequest |
DeployRequest.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata to deploy.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Metadata> |
InstallRequest.getMetadata()
Gets the metadata to install.
|
java.util.Collection<Metadata> |
InstallResult.getMetadata()
Gets the metadata that got installed.
|
| Modifier and Type | Method and Description |
|---|---|
InstallRequest |
InstallRequest.addMetadata(Metadata metadata)
Adds the specified metadata for installation.
|
InstallResult |
InstallResult.addMetadata(Metadata metadata)
Adds the specified metadata to this result.
|
| Modifier and Type | Method and Description |
|---|---|
InstallRequest |
InstallRequest.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata to install.
|
InstallResult |
InstallResult.setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata that got installed.
|
| 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(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 | 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 |
|---|---|
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.
|
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,
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 | 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 | 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.
|