|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver
public class DefaultPredicateOperandResolver
Default implementation of the PredicateOperandResolver
Constructor Summary | |
---|---|
DefaultPredicateOperandResolver(PredicateOperandHandlerRegistry handlerRegistry)
|
Method Summary | |
---|---|
List<QueryLiteral> |
getValues(com.atlassian.crowd.embedded.api.User searcher,
String field,
Operand operand)
|
boolean |
isEmptyOperand(com.atlassian.crowd.embedded.api.User searcher,
String field,
Operand operand)
Returns true if the operand represents an EMPTY operand. |
boolean |
isFunctionOperand(com.atlassian.crowd.embedded.api.User searcher,
String field,
Operand operand)
Returns true if the passed operand is a function call. |
boolean |
isListOperand(com.atlassian.crowd.embedded.api.User searcher,
String field,
Operand operand)
Returns true if the passed operand returns a list of values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPredicateOperandResolver(PredicateOperandHandlerRegistry handlerRegistry)
Method Detail |
---|
public List<QueryLiteral> getValues(com.atlassian.crowd.embedded.api.User searcher, String field, Operand operand)
getValues
in interface PredicateOperandResolver
searcher
- the User
performing the lookupfield
- a String representing the field over which you are searchingoperand
- the Operand containing the values used to search
public boolean isEmptyOperand(com.atlassian.crowd.embedded.api.User searcher, String field, Operand operand)
PredicateOperandResolver
isEmptyOperand
in interface PredicateOperandResolver
operand
- the operand to check if it is a EMPTY operand
public boolean isFunctionOperand(com.atlassian.crowd.embedded.api.User searcher, String field, Operand operand)
PredicateOperandResolver
isFunctionOperand
in interface PredicateOperandResolver
operand
- the operand to check. Cannot be null.
public boolean isListOperand(com.atlassian.crowd.embedded.api.User searcher, String field, Operand operand)
PredicateOperandResolver
isListOperand
in interface PredicateOperandResolver
operand
- the operand to check. Cannot be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |