|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.repository.LocalMetadataRequest
public class LocalMetadataRequest
A query to the local repository for the existence of metadata.
LocalRepositoryManager.find(RepositorySystemSession, LocalMetadataRequest)| Constructor Summary | |
|---|---|
LocalMetadataRequest()
Creates an uninitialized query. |
|
LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
Creates a query with the specified properties. |
|
| Method Summary | |
|---|---|
String |
getContext()
Gets the resolution context. |
Metadata |
getMetadata()
Gets the metadata to query for. |
RemoteRepository |
getRepository()
Gets the remote repository to use as source of the metadata. |
LocalMetadataRequest |
setContext(String context)
Sets the resolution context. |
LocalMetadataRequest |
setMetadata(Metadata metadata)
Sets the metadata to query for. |
LocalMetadataRequest |
setRepository(RemoteRepository repository)
Sets the remote repository to use as sources of the metadata. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalMetadataRequest()
public LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
metadata - The metadata to query for, may be null.repository - The source remote repository for the metadata, may be null for local metadata.context - The resolution context for the metadata, may be null.| Method Detail |
|---|
public Metadata getMetadata()
null if not set.public LocalMetadataRequest setMetadata(Metadata metadata)
metadata - The metadata, may be null.
null.public String getContext()
null.public LocalMetadataRequest setContext(String context)
context - The resolution context, may be null.
null.public RemoteRepository getRepository()
null for local metadata.public LocalMetadataRequest setRepository(RemoteRepository repository)
repository - The remote repository, may be null.
null for local metadata.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||