public class

NavigatorStructureChecker

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.search.searchers.transformer.NavigatorStructureChecker<T>

Class Overview

Utility class to assist in checking the fitness of a query for the issue navigator.

Summary

Public Constructors
NavigatorStructureChecker(ClauseNames clauseNames, boolean supportMultiLevelFunctions, FieldFlagOperandRegistry fieldFlagOperandRegistry, JqlOperandResolver operandResolver)
@Deprecated NavigatorStructureChecker(ClauseNames clauseNames, boolean supportMultiLevelFunctions, FieldFlagOperandRegistry fieldFlagOperandRegistry, JqlOperandResolver operandResolver, IndexInfoResolver<T> indexInfoResolver, SearchContextVisibilityChecker searchContextVisibilityChecker)
Public Methods
@Deprecated boolean checkSearchRequest(Query query, SearchContext searchContext)
This method is deprecated. Since 6.3.4. The SearchContext parameter is no longer needed. Use checkSearchRequest(com.atlassian.query.Query)
boolean checkSearchRequest(Query query)
Checks that a SearchRequest's query conforms to the simple structure required to fit in the Issue Navigator.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

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

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

Public Methods

@Deprecated public boolean checkSearchRequest (Query query, SearchContext searchContext)

This method is 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.

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.