@PublicApi
public interface IssueSearcherManager
IssueSearcher
objects as well as SearcherGroup
collectionsModifier and Type | Method and Description |
---|---|
Collection<IssueSearcher<?>> |
getAllSearchers()
Return all the active searchers in JIRA.
|
IssueSearcher<?> |
getSearcher(String id)
Get a searcher by the searchers name.
|
Collection<SearcherGroup> |
getSearcherGroups()
Get all searcher groups.
|
Collection<SearcherGroup> |
getSearcherGroups(SearchContext searchContext)
Deprecated.
Since 6.3.4. The
SearchContext parameter is no longer needed. Use getSearcherGroups() |
Collection<IssueSearcher<?>> |
getSearchers(ApplicationUser searcher,
SearchContext context)
Get searchers that are applicable for a given context.
|
void |
refresh()
Refreshes the
IssueSearcher cache |
Collection<IssueSearcher<?>> getSearchers(ApplicationUser searcher, SearchContext context)
com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchRenderer()#isShown(SearchContext)
method.searcher
- that is performing this action.context
- for the list of searchers. Must not be nullIssueSearcher
Collection<IssueSearcher<?>> getAllSearchers()
@Deprecated Collection<SearcherGroup> getSearcherGroups(SearchContext searchContext)
SearchContext
parameter is no longer needed. Use getSearcherGroups()
IssueSearcher
that are applicable for the context.
com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchRenderer()#isShown(SearchContext)
method.
Note that the SearcherGroup
will still appear even if no IssueSearcher
are shown for the group.searchContext
- for the searcher groups.SearcherGroup
Collection<SearcherGroup> getSearcherGroups()
SearcherGroup
will
still appear even if no IssueSearcher
are shown for the group.SearcherGroup
IssueSearcher<?> getSearcher(String id)
id
- the string identifier returned by com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchInformation()#getId()
void refresh()
IssueSearcher
cacheCopyright © 2002-2019 Atlassian. All Rights Reserved.