com.atlassian.jira.jql.validator
Class SupportedOperatorsValidator

java.lang.Object
  extended by com.atlassian.jira.jql.validator.SupportedOperatorsValidator

public class SupportedOperatorsValidator
extends Object

Does validation to determine if the operator in use is something other than the specified accepted operators and adds an error message if so.

Since:
v4.0

Constructor Summary
SupportedOperatorsValidator(Collection<Operator>... supportedOperatorSets)
           
 
Method Summary
 MessageSet validate(com.atlassian.crowd.embedded.api.User searcher, TerminalClause terminalClause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportedOperatorsValidator

public SupportedOperatorsValidator(Collection<Operator>... supportedOperatorSets)
Method Detail

validate

public MessageSet validate(com.atlassian.crowd.embedded.api.User searcher,
                           TerminalClause terminalClause)


Copyright © 2002-2015 Atlassian. All Rights Reserved.