Package com.atlassian.jira.search.jql
Interface QueryRegistry
- All Known Implementing Classes:
DefaultQueryRegistry
public interface QueryRegistry
To replace
QueryRegistry.- Since:
- 10.4
-
Method Summary
Modifier and TypeMethodDescriptiongetClauseQueryMappers(QueryCreationContext queryCreationContext, TerminalClause clause) Fetches all associated ClauseQueryFactory objects for the provided TerminalClause.
-
Method Details
-
getClauseQueryMappers
Collection<ClauseQueryMapper> getClauseQueryMappers(QueryCreationContext queryCreationContext, TerminalClause clause) Fetches all associated ClauseQueryFactory objects for the provided TerminalClause. The returned value is based on the clauses name theOperatorthat is associated with the provided clause. Multiple values may be returned for custom fields.- Parameters:
queryCreationContext- the context for creating the queryclause- that defines the name and operator for which we want to find the query factories, must not be null.- Returns:
- the query factories associated with this clause. The empty list will be returned to indicate failure.
-