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(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<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 | 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 |
AbstractMetadata.setFile(File file) |
Metadata |
Metadata.setFile(File file)
Sets the file of the metadata.
|
Metadata |
AbstractMetadata.setProperties(Map<String,String> properties) |
Metadata |
Metadata.setProperties(Map<String,String> properties)
Sets the properties for the metadata.
|
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 |
MetadataRequest.getMetadata()
Gets the metadata to resolve.
|
Metadata |
MetadataResult.getMetadata()
Gets the resolved metadata (if any).
|
Modifier and Type | Method and Description |
---|---|
MetadataRequest |
MetadataRequest.setMetadata(Metadata metadata)
Sets the metadata to resolve.
|
MetadataResult |
MetadataResult.setMetadata(Metadata metadata)
Sets the resolved metadata.
|
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 |
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.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.