Uses of Class
org.eclipse.aether.resolution.MetadataRequest
Package
Description
The primary API of the
RepositorySystem
and its functionality.The types supporting the resolution of artifacts and metadata from repositories.
-
Uses of MetadataRequest in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositorySystem.resolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) Resolves the paths for a collection of metadata. -
Uses of MetadataRequest in org.eclipse.aether.resolution
Modifier and TypeMethodDescriptionMetadataResult.getRequest()
Gets the resolution request that was made.MetadataRequest.setDeleteLocalCopyIfMissing
(boolean deleteLocalCopyIfMissing) Controls whether the locally cached copy of the metadata should be removed if the corresponding file does not exist (any more) in the remote repository.MetadataRequest.setFavorLocalRepository
(boolean favorLocalRepository) Controls resolution of remote metadata when already corresponding metadata of the local repository exists.MetadataRequest.setMetadata
(Metadata metadata) Sets the metadata to resolve.MetadataRequest.setRepository
(RemoteRepository repository) Sets the repository from which the metadata should be resolved.MetadataRequest.setRequestContext
(String context) Sets the context in which this request is made.MetadataRequest.setTrace
(RequestTrace trace) Sets the trace information that describes the higher level request/operation in which this request is issued.ModifierConstructorDescriptionMetadataResult
(MetadataRequest request) Creates a new result for the specified request.