public abstract class SingleWordQuickSearchHandler extends Object implements QuickSearchHandler
Constructor and Description |
---|
SingleWordQuickSearchHandler() |
Modifier and Type | Method and Description |
---|---|
protected static IssueConstant |
getIssueConstantByName(Collection<? extends IssueConstant> values,
String name)
For a Collection of Generic Values, return the one that has
genericValue.getString("name") equal to name |
protected abstract Map |
handleWord(String word,
QuickSearchResult searchResult)
Hanldle a single word, and return a map of parameters
|
void |
modifySearchResult(QuickSearchResult searchResult) |
public void modifySearchResult(QuickSearchResult searchResult)
modifySearchResult
in interface QuickSearchHandler
protected abstract Map handleWord(String word, QuickSearchResult searchResult)
word
- A single word - guaranteed to not be nullsearchResult
- The existing search resultprotected static IssueConstant getIssueConstantByName(Collection<? extends IssueConstant> values, String name)
genericValue.getString("name")
equal to name
Copyright © 2002-2022 Atlassian. All Rights Reserved.