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)
OperandHandlervalidate 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)
OperandHandlergetValues 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>EmptyOperandpublic boolean isFunction()
isFunction in interface OperandHandler<MultiValueOperand>FunctionOperandCopyright © 2002-2015 Atlassian. All Rights Reserved.