## Uses of Interface
org.eclipse.aether.metadata.Metadata

- Packages that use Metadata
  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.

- - ### Uses of Metadata in org.eclipse.aether

    Methods in org.eclipse.aether that return Metadata
    Modifier and Type | Method and Description
    --- | ---
    `Metadata` | RepositoryEvent.`getMetadata()` Gets the metadata involved in the event (if any).

    Methods in org.eclipse.aether with parameters of type Metadata
    Modifier and Type | Method and Description
    --- | ---
    `RepositoryEvent.Builder` | RepositoryEvent.Builder.`setMetadata(Metadata metadata)` Sets the metadata involved in the event.

    Method parameters in org.eclipse.aether with type arguments of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.deployment

    Methods in org.eclipse.aether.deployment that return types with arguments of type Metadata
    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.

    Methods in org.eclipse.aether.deployment with parameters of type Metadata
    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.

    Method parameters in org.eclipse.aether.deployment with type arguments of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.impl

    Methods in org.eclipse.aether.impl that return types with arguments of type Metadata
    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.

    Method parameters in org.eclipse.aether.impl with type arguments of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.installation

    Methods in org.eclipse.aether.installation that return types with arguments of type Metadata
    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.

    Methods in org.eclipse.aether.installation with parameters of type Metadata
    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.

    Method parameters in org.eclipse.aether.installation with type arguments of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.internal.impl

    Method parameters in org.eclipse.aether.internal.impl with type arguments of type Metadata
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultUpdateCheckManager.`checkMetadata(RepositorySystemSession session, UpdateCheck<Metadata,MetadataTransferException> check)`
    `void` | DefaultUpdateCheckManager.`touchMetadata(RepositorySystemSession session, UpdateCheck<Metadata,MetadataTransferException> check)`

  - ### Uses of Metadata in org.eclipse.aether.internal.test.util

    Methods in org.eclipse.aether.internal.test.util that return types with arguments of type Metadata
    Modifier and Type | Method and Description
    --- | ---
    `Set<Metadata>` | TestLocalRepositoryManager.`getMetadataRegistration()`

    Methods in org.eclipse.aether.internal.test.util with parameters of type Metadata
    Modifier and Type | Method and Description
    --- | ---
    `String` | TestLocalRepositoryManager.`getPathForLocalMetadata(Metadata metadata)`
    `String` | TestLocalRepositoryManager.`getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context)`

  - ### Uses of Metadata in org.eclipse.aether.metadata

    Subinterfaces of Metadata in org.eclipse.aether.metadata
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MergeableMetadata` A piece of metadata that needs to be merged with any current metadata before installation/deployment.

    Classes in org.eclipse.aether.metadata that implement Metadata
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractMetadata` A skeleton class for metadata.
    `class` | `DefaultMetadata` A basic metadata instance.

    Methods in org.eclipse.aether.metadata that return Metadata
    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)`

  - ### Uses of Metadata in org.eclipse.aether.repository

    Methods in org.eclipse.aether.repository that return Metadata
    Modifier and Type | Method and Description
    --- | ---
    `Metadata` | LocalMetadataRequest.`getMetadata()` Gets the metadata to query for.
    `Metadata` | LocalMetadataRegistration.`getMetadata()` Gets the metadata to register.

    Methods in org.eclipse.aether.repository with parameters of type Metadata
    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.

    Constructors in org.eclipse.aether.repository with parameters of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.resolution

    Methods in org.eclipse.aether.resolution that return Metadata
    Modifier and Type | Method and Description
    --- | ---
    `Metadata` | MetadataResult.`getMetadata()` Gets the resolved metadata (if any).
    `Metadata` | MetadataRequest.`getMetadata()` Gets the metadata to resolve.

    Methods in org.eclipse.aether.resolution with parameters of type Metadata
    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.

    Method parameters in org.eclipse.aether.resolution with type arguments of type Metadata
    Modifier and Type | Method and Description
    --- | ---
    `int` | ResolutionErrorPolicy.`getMetadataPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request)` Gets the error policy for some metadata.

    Constructors in org.eclipse.aether.resolution with parameters of type 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.

  - ### Uses of Metadata in org.eclipse.aether.spi.connector

    Methods in org.eclipse.aether.spi.connector that return Metadata
    Modifier and Type | Method and Description
    --- | ---
    `Metadata` | MetadataTransfer.`getMetadata()` Gets the metadata being transferred.

    Methods in org.eclipse.aether.spi.connector with parameters of type Metadata
    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)`

    Constructors in org.eclipse.aether.spi.connector with parameters of type 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.

  - ### Uses of Metadata in org.eclipse.aether.spi.connector.layout

    Methods in org.eclipse.aether.spi.connector.layout with parameters of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.transfer

    Methods in org.eclipse.aether.transfer that return Metadata
    Modifier and Type | Method and Description
    --- | ---
    `Metadata` | MetadataTransferException.`getMetadata()` Gets the metadata that could not be transferred.

    Constructors in org.eclipse.aether.transfer with parameters of type Metadata
    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.

  - ### Uses of Metadata in org.eclipse.aether.util.repository

    Method parameters in org.eclipse.aether.util.repository with type arguments of type Metadata
    Modifier and Type | Method and Description
    --- | ---
    `int` | SimpleResolutionErrorPolicy.`getMetadataPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request)`

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.