Class NavigatorStructureChecker<T>
java.lang.Object
com.atlassian.jira.issue.search.searchers.transformer.NavigatorStructureChecker<T>
Utility class to assist in checking the fitness of a query for the issue navigator.
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionNavigatorStructureChecker(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
Modifier and TypeMethodDescriptionbooleancheckSearchRequest(Query query) Checks that aSearchRequest's query conforms to the simple structure required to fit in the Issue Navigator.booleancheckSearchRequest(Query query, SearchContext searchContext) Deprecated.Since 6.3.4.
-
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 operandsfieldFlagOperandRegistry- the FieldFlagOperandRegistryoperandResolver- the JqlOperandSupport
-
NavigatorStructureChecker
@Deprecated public NavigatorStructureChecker(ClauseNames clauseNames, boolean supportMultiLevelFunctions, FieldFlagOperandRegistry fieldFlagOperandRegistry, JqlOperandResolver operandResolver, IndexInfoResolver<T> indexInfoResolver, SearchContextVisibilityChecker searchContextVisibilityChecker) Deprecated.
-
-
Method Details
-
checkSearchRequest
Deprecated.Since 6.3.4. TheSearchContextparameter is no longer needed. UsecheckSearchRequest(com.atlassian.query.Query)Checks that aSearchRequest'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
Checks that aSearchRequest'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.
-