Uses of Interface
org.eclipse.aether.metadata.Metadata
Package
Description
The primary API of the
RepositorySystem
and its functionality.The types supporting the publishing of artifacts to a remote repository.
The provisional interfaces defining the various subcomponents that implement the repository system.
The types supporting the publishing of artifacts to a local repository.
The various sub components that collectively implement the repository system.
Utility classes to ease unit testing.
The definition of metadata, that is an auxiliary entity managed by the repository system to locate artifacts.
The definition of various kinds of repositories that host artifacts.
The types supporting the resolution of artifacts and metadata from repositories.
The contract to access artifacts/metadata in remote repositories.
The contract to locate URI-based resources using custom repository layouts.
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities.
-
Uses of Metadata in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositoryEvent.getMetadata()
Gets the metadata involved in the event (if any).Modifier and TypeMethodDescriptionRepositoryEvent.Builder.setMetadata
(Metadata metadata) Sets the metadata involved in the event. -
Uses of Metadata in org.eclipse.aether.deployment
Modifier and TypeMethodDescriptionDeployRequest.getMetadata()
Gets the metadata to deploy.DeployResult.getMetadata()
Gets the metadata that got deployed.Modifier and TypeMethodDescriptionDeployRequest.addMetadata
(Metadata metadata) Adds the specified metadata for deployment.DeployResult.addMetadata
(Metadata metadata) Adds the specified metadata to this result.Modifier and TypeMethodDescriptionDeployRequest.setMetadata
(Collection<Metadata> metadata) Sets the metadata to deploy.DeployResult.setMetadata
(Collection<Metadata> metadata) Sets the metadata that got deployed. -
Uses of Metadata in org.eclipse.aether.impl
Modifier and TypeMethodDescriptionCollection
<? 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 TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionInstallRequest.getMetadata()
Gets the metadata to install.InstallResult.getMetadata()
Gets the metadata that got installed.Modifier and TypeMethodDescriptionInstallRequest.addMetadata
(Metadata metadata) Adds the specified metadata for installation.InstallResult.addMetadata
(Metadata metadata) Adds the specified metadata to this result.Modifier and TypeMethodDescriptionInstallRequest.setMetadata
(Collection<Metadata> metadata) Sets the metadata to install.InstallResult.setMetadata
(Collection<Metadata> metadata) Sets the metadata that got installed. -
Uses of Metadata in org.eclipse.aether.internal.impl
Modifier and TypeMethodDescriptionUtils.finishMetadata
(List<? extends MetadataGenerator> generators, List<? extends Artifact> artifacts) Utils.prepareMetadata
(List<? extends MetadataGenerator> generators, List<? extends Artifact> artifacts) Modifier and TypeMethodDescriptionDefaultLocalPathComposer.getPathForMetadata
(Metadata metadata, String repositoryKey) LocalPathComposer.getPathForMetadata
(Metadata metadata, String repositoryKey) Gets the relative path for locally installed (repositoryKey=local) or remotely cached metadata.LocalPathPrefixComposer.getPathPrefixForLocalMetadata
(Metadata metadata) Gets the path prefix for locally installed metadata.LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport.getPathPrefixForLocalMetadata
(Metadata metadata) LocalPathPrefixComposer.getPathPrefixForRemoteMetadata
(Metadata metadata, RemoteRepository repository) Gets the path prefix for metadata cached from a remote repository.LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport.getPathPrefixForRemoteMetadata
(Metadata metadata, RemoteRepository repository) static int
Utils.getPolicy
(RepositorySystemSession session, Metadata metadata, RemoteRepository repository) protected boolean
LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport.isSnapshot
(Metadata metadata) Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionTestLocalRepositoryManager.getPathForLocalMetadata
(Metadata metadata) TestLocalRepositoryManager.getPathForRemoteMetadata
(Metadata metadata, RemoteRepository repository, String context) -
Uses of Metadata in org.eclipse.aether.metadata
Modifier and TypeInterfaceDescriptioninterface
A piece of metadata that needs to be merged with any current metadata before installation/deployment.Modifier and TypeClassDescriptionclass
A skeleton class for metadata.final class
A basic metadata instance.Modifier and TypeMethodDescriptionDeprecated.Deprecated.Sets the file of the metadata.AbstractMetadata.setProperties
(Map<String, String> properties) Metadata.setProperties
(Map<String, String> properties) Sets the properties for the metadata. -
Uses of Metadata in org.eclipse.aether.repository
Modifier and TypeMethodDescriptionLocalMetadataRegistration.getMetadata()
Gets the metadata to register.LocalMetadataRequest.getMetadata()
Gets the metadata to query for.Modifier and TypeMethodDescriptionLocalRepositoryManager.getPathForLocalMetadata
(Metadata metadata) Gets the relative path for locally installed metadata.LocalRepositoryManager.getPathForRemoteMetadata
(Metadata metadata, RemoteRepository repository, String context) Gets the relative path for metadata cached from a remote repository.LocalMetadataRegistration.setMetadata
(Metadata metadata) Sets the metadata to register.LocalMetadataRequest.setMetadata
(Metadata metadata) Sets the metadata to query for.ModifierConstructorDescriptionLocalMetadataRegistration
(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
Modifier and TypeMethodDescriptionMetadataRequest.getMetadata()
Gets the metadata to resolve.MetadataResult.getMetadata()
Gets the resolved metadata (if any).Modifier and TypeMethodDescriptionMetadataRequest.setMetadata
(Metadata metadata) Sets the metadata to resolve.MetadataResult.setMetadata
(Metadata metadata) Sets the resolved metadata.Modifier and TypeMethodDescriptionint
ResolutionErrorPolicy.getMetadataPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request) Gets the error policy for some metadata.ModifierConstructorDescriptionMetadataRequest
(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
Modifier and TypeMethodDescriptionMetadataTransfer.getMetadata()
Gets the metadata being transferred.Modifier and TypeMethodDescriptionMetadataDownload.setMetadata
(Metadata metadata) MetadataTransfer.setMetadata
(Metadata metadata) Sets the metadata to transfer.MetadataUpload.setMetadata
(Metadata metadata) ModifierConstructorDescriptionMetadataDownload
(Metadata metadata, String context, File file, String checksumPolicy) Deprecated.UseMetadataDownload(Metadata, String, Path, String)
instead.MetadataDownload
(Metadata metadata, String context, Path path, String checksumPolicy) Creates a new download with the specified properties.MetadataUpload
(Metadata metadata, File file) Deprecated.UseMetadataUpload(Metadata, Path)
instead.MetadataUpload
(Metadata metadata, Path path) Creates a new upload with the specified properties. -
Uses of Metadata in org.eclipse.aether.spi.connector.filter
Modifier and TypeMethodDescriptionRemoteRepositoryFilter.acceptMetadata
(RemoteRepository remoteRepository, Metadata metadata) Decides should metadata be accepted from given remote repository. -
Uses of Metadata in org.eclipse.aether.spi.connector.layout
Modifier and TypeMethodDescriptionRepositoryLayout.getChecksumLocations
(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.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
Modifier and TypeMethodDescriptionMetadataTransferException.getMetadata()
Gets the metadata that could not be transferred.ModifierConstructorDescriptionMetadataNotFoundException
(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
Modifier and TypeMethodDescriptionChainedLocalRepositoryManager.getPathForLocalMetadata
(Metadata metadata) ChainedLocalRepositoryManager.getPathForRemoteMetadata
(Metadata metadata, RemoteRepository repository, String context) Modifier and TypeMethodDescriptionint
SimpleResolutionErrorPolicy.getMetadataPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> request)
setPath(Path)
instead.