Class SimpleCustomFieldClauseContextHandler
java.lang.Object
com.atlassian.jira.issue.customfields.searchers.SimpleCustomFieldSearcherClauseHandler
com.atlassian.jira.issue.customfields.searchers.SimpleCustomFieldClauseContextHandler
- All Implemented Interfaces:
CustomFieldClauseContextHandler,CustomFieldSearcherClauseHandler
- Direct Known Subclasses:
SimpleCustomFieldContextValueGeneratingClauseHandler
@NonInjectableComponent
public class SimpleCustomFieldClauseContextHandler
extends SimpleCustomFieldSearcherClauseHandler
implements CustomFieldClauseContextHandler
A simple class for creating a context aware clause handler for a custom field.
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleCustomFieldClauseContextHandler(ClauseValidator validator, ClauseQueryMapper clauseQueryMapper, ClauseContextFactory clauseContextFactory, Set<Operator> supportedOperators, JiraDataType supportedType) -
Method Summary
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.SimpleCustomFieldSearcherClauseHandler
getClauseQueryMapper, getClauseValidator, getDataType, getSupportedOperators
-
Constructor Details
-
SimpleCustomFieldClauseContextHandler
public SimpleCustomFieldClauseContextHandler(ClauseValidator validator, ClauseQueryMapper clauseQueryMapper, ClauseContextFactory clauseContextFactory, Set<Operator> supportedOperators, JiraDataType supportedType)
-
-
Method Details
-
getClauseContextFactory
- Specified by:
getClauseContextFactoryin interfaceCustomFieldClauseContextHandler- Returns:
- provides a clause context factory that will be used to give the custom field a chance to inspect its values so that it can infer some context based on the value.
-