|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.issue.customfields.searchers.SimpleCustomFieldSearcherClauseHandler
@NonInjectableComponent public class SimpleCustomFieldSearcherClauseHandler
A simple implementation of the CustomFieldSearcherClauseHandler
.
Constructor Summary | |
---|---|
SimpleCustomFieldSearcherClauseHandler(ClauseValidator validator,
ClauseQueryFactory clauseQueryFactory,
Set<Operator> supportedOperators,
JiraDataType supportedType)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCustomFieldSearcherClauseHandler(ClauseValidator validator, ClauseQueryFactory clauseQueryFactory, Set<Operator> supportedOperators, JiraDataType supportedType)
Method Detail |
---|
public ClauseValidator getClauseValidator()
CustomFieldSearcherClauseHandler
TerminalClause
's created by this searcher.
getClauseValidator
in interface CustomFieldSearcherClauseHandler
TerminalClause
's created by this searcher.public ClauseQueryFactory getClauseQueryFactory()
CustomFieldSearcherClauseHandler
TerminalClause
's created by this searcher.
getClauseQueryFactory
in interface CustomFieldSearcherClauseHandler
TerminalClause
's created by this searcher.public Set<Operator> getSupportedOperators()
CustomFieldSearcherClauseHandler
Operator
's that this custom field searcher
can handle for its searching.
This will be used to populate the ClauseInformation.getSupportedOperators()
.
getSupportedOperators
in interface CustomFieldSearcherClauseHandler
public JiraDataType getDataType()
CustomFieldSearcherClauseHandler
JiraDataType
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 CustomFieldSearcherClauseHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |