@NonInjectableComponent public class SimpleCustomFieldSearcherClauseHandler extends Object implements CustomFieldSearcherClauseHandler
CustomFieldSearcherClauseHandler.| Constructor and Description |
|---|
SimpleCustomFieldSearcherClauseHandler(ClauseValidator validator,
ClauseQueryFactory clauseQueryFactory,
Set<Operator> supportedOperators,
JiraDataType supportedType) |
| Modifier and Type | Method and Description |
|---|---|
ClauseQueryFactory |
getClauseQueryFactory()
Provides a lucene query generator for
TerminalClause's created by this searcher. |
ClauseValidator |
getClauseValidator()
Provides a validator for
TerminalClause's created by this searcher. |
JiraDataType |
getDataType()
Provides the
JiraDataType that this clause handles and searches on. |
Set<Operator> |
getSupportedOperators()
Provides a set of the supported
Operator's that this custom field searcher
can handle for its searching. |
public SimpleCustomFieldSearcherClauseHandler(ClauseValidator validator, ClauseQueryFactory clauseQueryFactory, Set<Operator> supportedOperators, JiraDataType supportedType)
public ClauseValidator getClauseValidator()
CustomFieldSearcherClauseHandlerTerminalClause's created by this searcher.getClauseValidator in interface CustomFieldSearcherClauseHandlerTerminalClause's created by this searcher.public ClauseQueryFactory getClauseQueryFactory()
CustomFieldSearcherClauseHandlerTerminalClause's created by this searcher.getClauseQueryFactory in interface CustomFieldSearcherClauseHandlerTerminalClause's created by this searcher.public Set<Operator> getSupportedOperators()
CustomFieldSearcherClauseHandlerOperator's that this custom field searcher
can handle for its searching.
This will be used to populate the ClauseInformation.getSupportedOperators().
getSupportedOperators in interface CustomFieldSearcherClauseHandlerpublic JiraDataType getDataType()
CustomFieldSearcherClauseHandlerJiraDataType that this clause handles and searches on. This allows us
to infer some information about how the search will behave and how it will interact with other elements in
the system.
This will be used to populate the ClauseInformation.getDataType().
getDataType in interface CustomFieldSearcherClauseHandlerCopyright © 2002-2023 Atlassian. All Rights Reserved.