com.atlassian.jira.issue.search.searchers.transformer
Class NavigatorStructureChecker<T>

java.lang.Object
  extended by 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

Constructor Summary
NavigatorStructureChecker(ClauseNames clauseNames, boolean supportMultiLevelFunctions, FieldFlagOperandRegistry fieldFlagOperandRegistry, JqlOperandResolver operandResolver)
           
NavigatorStructureChecker(ClauseNames clauseNames, boolean supportMultiLevelFunctions, FieldFlagOperandRegistry fieldFlagOperandRegistry, JqlOperandResolver operandResolver, IndexInfoResolver<T> indexInfoResolver, SearchContextVisibilityChecker searchContextVisibilityChecker)
          Deprecated. 
 
Method Summary
 boolean checkSearchRequest(Query query, SearchContext searchContext)
          Checks that a SearchRequest's query conforms to the simple structure required to fit in the Issue Navigator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigatorStructureChecker

public NavigatorStructureChecker(ClauseNames clauseNames,
                                 boolean supportMultiLevelFunctions,
                                 FieldFlagOperandRegistry fieldFlagOperandRegistry,
                                 JqlOperandResolver operandResolver)
Parameters:
clauseNames - The clause field names of the clause to check.
supportMultiLevelFunctions - set to true if the clause type supports functions inside of multivalue operands
fieldFlagOperandRegistry - the FieldFlagOperandRegistry
operandResolver - the JqlOperandSupport

NavigatorStructureChecker

@Deprecated
public NavigatorStructureChecker(ClauseNames clauseNames,
                                            boolean supportMultiLevelFunctions,
                                            FieldFlagOperandRegistry fieldFlagOperandRegistry,
                                            JqlOperandResolver operandResolver,
                                            IndexInfoResolver<T> indexInfoResolver,
                                            SearchContextVisibilityChecker searchContextVisibilityChecker)
Deprecated. 

Method Detail

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-2013 Atlassian. All Rights Reserved.