|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface IssueSearcherManager
Manager to obtain a list of IssueSearcher
objects as well as SearcherGroup
collections
Method Summary | |
---|---|
Collection<IssueSearcher<?>> |
getAllSearchers()
Return all the active searchers in JIRA. |
IssueSearcher<?> |
getSearcher(String id)
Get a searcher by the searchers name. |
Collection<SearcherGroup> |
getSearcherGroups(SearchContext searchContext)
Get all searcher groups with the IssueSearcher that are applicable for the context. |
Collection<IssueSearcher<?>> |
getSearchers(com.atlassian.crowd.embedded.api.User searcher,
SearchContext context)
Get searchers that are applicable for a given context. |
void |
refresh()
Refreshes the IssueSearcher cache |
Method Detail |
---|
Collection<IssueSearcher<?>> getSearchers(com.atlassian.crowd.embedded.api.User 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 null
IssueSearcher
Collection<IssueSearcher<?>> getAllSearchers()
Collection<SearcherGroup> getSearcherGroups(SearchContext searchContext)
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
IssueSearcher<?> getSearcher(String id)
id
- the string identifier returned by com.atlassian.jira.issue.search.searchers.IssueSearcher#getSearchInformation()#getId()
void refresh()
IssueSearcher
cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |