public class MultiValueOperandHandler extends Object implements OperandHandler<MultiValueOperand>
Constructor and Description |
---|
MultiValueOperandHandler(JqlOperandResolver operandResolver) |
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
getValues(QueryCreationContext queryCreationContext,
MultiValueOperand operand,
TerminalClause terminalClause)
Gets the unexpanded values provided by the user on input.
|
boolean |
isEmpty() |
boolean |
isFunction() |
boolean |
isList() |
MessageSet |
validate(ApplicationUser searcher,
MultiValueOperand operand,
TerminalClause terminalClause)
Will perform operand specific validation.
|
public MultiValueOperandHandler(JqlOperandResolver operandResolver)
public MessageSet validate(ApplicationUser searcher, MultiValueOperand operand, TerminalClause terminalClause)
OperandHandler
validate
in interface OperandHandler<MultiValueOperand>
searcher
- the user performing the searchoperand
- the operand to validateterminalClause
- the terminal clause that contains the operandpublic List<QueryLiteral> getValues(QueryCreationContext queryCreationContext, MultiValueOperand operand, TerminalClause terminalClause)
OperandHandler
getValues
in interface OperandHandler<MultiValueOperand>
queryCreationContext
- the context of query creationoperand
- the operand to get values fromterminalClause
- the terminal clause that contains the operandpublic boolean isList()
isList
in interface OperandHandler<MultiValueOperand>
public boolean isEmpty()
isEmpty
in interface OperandHandler<MultiValueOperand>
EmptyOperand
public boolean isFunction()
isFunction
in interface OperandHandler<MultiValueOperand>
FunctionOperand
Copyright © 2002-2019 Atlassian. All Rights Reserved.