|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.repository.LocalMetadataResult
public class LocalMetadataResult
A result from the local repository about the existence of metadata.
LocalRepositoryManager.find(RepositorySystemSession, LocalMetadataRequest)| Constructor Summary | |
|---|---|
LocalMetadataResult(LocalMetadataRequest request)
Creates a new result for the specified request. |
|
| Method Summary | |
|---|---|
java.io.File |
getFile()
Gets the file to the requested metadata if the metadata is available in the local repository. |
LocalMetadataRequest |
getRequest()
Gets the request corresponding to this result. |
boolean |
isStale()
This value indicates whether the metadata is stale and should be updated. |
LocalMetadataResult |
setFile(java.io.File file)
Sets the file to requested metadata. |
LocalMetadataResult |
setStale(boolean stale)
Sets whether the metadata is stale. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalMetadataResult(LocalMetadataRequest request)
request - The local metadata request, must not be null.| Method Detail |
|---|
public LocalMetadataRequest getRequest()
null.public java.io.File getFile()
null.public LocalMetadataResult setFile(java.io.File file)
file - The metadata file, may be null.
null.public boolean isStale()
true if the metadata is stale and should be updated, false otherwise.public LocalMetadataResult setStale(boolean stale)
stale - true if the metadata is stale and should be updated, false otherwise.
null.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||