public class SearchProcessorInfo
extends java.lang.Object
| Constructor and Description |
|---|
SearchProcessorInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAlternateTerms()
After
AbstractSearchProcessor.preSearch(String) is called,
this method can be used to return an array of alternative search terms
a user may wish to consider. |
java.lang.String |
getQuery()
After
AbstractSearchProcessor.preSearch(String) is called,
this method can be used to change the search query used. |
void |
setAlternateTerms(java.lang.String[] alternateTerms)
Sets the alternate terms to be considered.
|
void |
setQuery(java.lang.String query)
Sets the query to search with.
|
public java.lang.String getQuery()
AbstractSearchProcessor.preSearch(String) is called,
this method can be used to change the search query used.null for no change.public void setQuery(java.lang.String query)
query - getQuery()public java.lang.String[] getAlternateTerms()
AbstractSearchProcessor.preSearch(String) is called,
this method can be used to return an array of alternative search terms
a user may wish to consider.null for no alternate terms.
An empty array has the same effect as returning null.public void setAlternateTerms(java.lang.String[] alternateTerms)
alternateTerms - getAlternateTerms()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.