com.atlassian.jira.jql.query
Class DefaultQueryRegistry
java.lang.Object
com.atlassian.jira.jql.query.DefaultQueryRegistry
- All Implemented Interfaces:
- QueryRegistry
public final class DefaultQueryRegistry
- extends Object
- implements QueryRegistry
Able to map clauses to query handlers.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultQueryRegistry
public DefaultQueryRegistry(SearchHandlerManager manager)
getClauseQueryFactory
public Collection<ClauseQueryFactory> getClauseQueryFactory(QueryCreationContext queryCreationContext,
TerminalClause clause)
- Description copied from interface:
QueryRegistry
- Fetches all associated ClauseQueryFactory objects for the provided TerminalClause. The returned value is based on
the clauses name the
Operator
that is associated with the
provided clause. Multiple values may be returned for custom fields.
- Specified by:
getClauseQueryFactory
in interface QueryRegistry
- 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.
Copyright © 2002-2012 Atlassian. All Rights Reserved.