com.atlassian.jira.issue.customfields.searchers.transformer
Class NumberRangeCustomFieldInputHelper

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.searchers.transformer.NumberRangeCustomFieldInputHelper

public class NumberRangeCustomFieldInputHelper
extends Object

A helper class for Number Range Custom field searcher converting between the Query and Searcher views of the clauses.


Constructor Summary
NumberRangeCustomFieldInputHelper(ClauseNames clauseNames, JqlOperandResolver jqlOperandResolver)
           
 
Method Summary
protected  SimpleNavigatorCollectorVisitor createSimpleNavigatorCollectorVisitor()
           
 List<TerminalClause> getValuesFromQuery(Query query)
          Returns a list of the valid for navigator TerminalClauses in the Query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberRangeCustomFieldInputHelper

public NumberRangeCustomFieldInputHelper(ClauseNames clauseNames,
                                         JqlOperandResolver jqlOperandResolver)
Method Detail

getValuesFromQuery

public List<TerminalClause> getValuesFromQuery(Query query)
Returns a list of the valid for navigator TerminalClauses in the Query. If the structure, operators or values are not valid null is returned.

Parameters:
query - the search query to search for valid terminal clauses
Returns:
a list of valid terminal clauses. Null if the search query is not valid for the Number Range searcher

createSimpleNavigatorCollectorVisitor

protected SimpleNavigatorCollectorVisitor createSimpleNavigatorCollectorVisitor()


Copyright © 2002-2012 Atlassian. All Rights Reserved.