com.atlassian.jira.issue.search.searchers.transformer
Class NavigatorStructureChecker<T>
java.lang.Object
com.atlassian.jira.issue.search.searchers.transformer.NavigatorStructureChecker<T>
public class NavigatorStructureChecker<T>
- extends Object
Utility class to assist in checking the fitness of a query for the issue navigator.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigatorStructureChecker
public NavigatorStructureChecker(ClauseNames clauseNames,
boolean supportMultiLevelFunctions,
FieldFlagOperandRegistry fieldFlagOperandRegistry,
JqlOperandResolver operandResolver,
IndexInfoResolver<T> indexInfoResolver,
SearchContextVisibilityChecker searchContextVisibilityChecker)
- Parameters:
clauseNames
- The clause field names of the clause to check.supportMultiLevelFunctions
- set to true if the clause type supports functions inside of multivalue operandsfieldFlagOperandRegistry
- the FieldFlagOperandRegistryoperandResolver
- the JqlOperandSupportindexInfoResolver
- the index resolver of the fieldsearchContextVisibilityChecker
- the context visibility check of the field
checkSearchRequest
public boolean checkSearchRequest(Query query,
SearchContext searchContext)
- Checks that a
SearchRequest
's query conforms to the simple structure required to fit in the Issue
Navigator.
- Parameters:
query
- the search criteria used to populate the field values holder.searchContext
- the context under which the search is being performed.
- Returns:
- true if it will fit; false otherwise.
Copyright © 2002-2012 Atlassian. All Rights Reserved.