com.atlassian.jira.issue.customfields.searchers
Class SimpleCustomFieldClauseContextHandler

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.searchers.SimpleCustomFieldSearcherClauseHandler
      extended by 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 createing a context aware clause handler for a custom field.

Since:
v4.0

Constructor Summary
SimpleCustomFieldClauseContextHandler(ClauseValidator validator, ClauseQueryFactory clauseQueryFactory, ClauseContextFactory clauseContextFactory, Set<Operator> supportedOperators, JiraDataType supportedType)
           
 
Method Summary
 ClauseContextFactory getClauseContextFactory()
           
 
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.SimpleCustomFieldSearcherClauseHandler
getClauseQueryFactory, getClauseValidator, getDataType, getSupportedOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCustomFieldClauseContextHandler

public SimpleCustomFieldClauseContextHandler(ClauseValidator validator,
                                             ClauseQueryFactory clauseQueryFactory,
                                             ClauseContextFactory clauseContextFactory,
                                             Set<Operator> supportedOperators,
                                             JiraDataType supportedType)
Method Detail

getClauseContextFactory

public ClauseContextFactory getClauseContextFactory()
Specified by:
getClauseContextFactory in interface CustomFieldClauseContextHandler
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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.