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
  • Constructor Details

    • 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 Details

    • checkSearchRequest

      @Deprecated public boolean checkSearchRequest(Query query, SearchContext searchContext)
      Deprecated.
      Since 6.3.4. The SearchContext parameter is no longer needed. Use checkSearchRequest(com.atlassian.query.Query)
      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.
    • checkSearchRequest

      public boolean checkSearchRequest(Query query)
      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.
      Returns:
      true if it will fit; false otherwise.