Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
Modifier and Type | Method and Description |
---|---|
List<MetadataResult> |
RepositorySystem.resolveMetadata(RepositorySystemSession session,
Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
|
Modifier and Type | Method and Description |
---|---|
MetadataRequest |
MetadataResult.getRequest()
Gets the resolution request that was made.
|
MetadataRequest |
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 |
MetadataRequest.setFavorLocalRepository(boolean favorLocalRepository)
Controls resolution of remote metadata when already corresponding metadata of the local repository exists.
|
MetadataRequest |
MetadataRequest.setMetadata(Metadata metadata)
Sets the metadata to resolve.
|
MetadataRequest |
MetadataRequest.setRepository(RemoteRepository repository)
Sets the repository from which the metadata should be resolved.
|
MetadataRequest |
MetadataRequest.setRequestContext(String context)
Sets the context in which this request is made.
|
MetadataRequest |
MetadataRequest.setTrace(RequestTrace trace)
Sets the trace information that describes the higher level request/operation in which this request is issued.
|
Constructor and Description |
---|
MetadataResult(MetadataRequest request)
Creates a new result for the specified request.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.