|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.module.SearchPolicy
java.lang.module.spi.SearchSequence
public class SearchSequence
A SearchPolicy over a list of repositories.
| Constructor Summary | |
|---|---|
SearchSequence(ModuleRepository... sequence)
Constructor. |
|
| Method Summary | |
|---|---|
ModuleArchive |
find(ModuleQuery query)
Find the first ModuleArchive that matches the specified query. |
java.util.List<ModuleArchive> |
findAll(ModuleQuery query)
Find all ModuleArchive that match the specified query. |
protected ModuleRepository[] |
getSequence()
|
static SearchPolicy |
rootFirst()
Returns a SearchPolicy that searches the root
repository and then the local repository. |
java.lang.String |
toString()
Returns a string representation of this instance. |
| Methods inherited from class java.lang.module.SearchPolicy |
|---|
findAllLocal, findLocal, getLocal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchSequence(ModuleRepository... sequence)
sequence - The sequence of repositories.| Method Detail |
|---|
public static SearchPolicy rootFirst()
SearchPolicy that searches the root
repository and then the local repository.
SearchPolicy.public ModuleArchive find(ModuleQuery query)
ModuleArchive that matches the specified query.
find in class SearchPolicyquery - The query.
ModuleArchive or null if none.public java.util.List<ModuleArchive> findAll(ModuleQuery query)
ModuleArchive that match the specified query.
findAll in class SearchPolicyquery - The query.
ModuleArchives; empty if no match.public java.lang.String toString()
toString in class java.lang.Objectprotected ModuleRepository[] getSequence()
|
Qwylt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||