|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sonyericsson.hudson.plugins.metadata.search.MetadataQuerySearch
public class MetadataQuerySearch
This class will parse the query and search for the matched projects.
Constructor Summary | |
---|---|
protected |
MetadataQuerySearch(org.antlr.runtime.tree.CommonTree queryTree)
MetadataQuerySearch Constructor. |
Method Summary | |
---|---|
static MetadataQuerySearch |
parseQuery(String queryString)
The method will parse the query using QueryParser and construct the CommonTree and return the instance of MetadataQuerySearch. |
List<hudson.model.TopLevelItem> |
searchQuery(List<hudson.model.TopLevelItem> all)
Method will perform the search using QueryWalker and returns the list of matched projects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MetadataQuerySearch(org.antlr.runtime.tree.CommonTree queryTree)
queryTree
- CommomTree.Method Detail |
---|
public List<hudson.model.TopLevelItem> searchQuery(List<hudson.model.TopLevelItem> all) throws Exception
all
- List.
Exception
- exception.public static MetadataQuerySearch parseQuery(String queryString) throws Exception
queryString
- the search query.
Exception
- if an error occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |