public class EmptyOperandHandler extends Object implements OperandHandler<EmptyOperand>
EmptyOperand.| Constructor and Description |
|---|
EmptyOperandHandler() |
| Modifier and Type | Method and Description |
|---|---|
List<QueryLiteral> |
getValues(QueryCreationContext queryCreationContext,
EmptyOperand operand,
TerminalClause terminalClause)
Gets the unexpanded values provided by the user on input.
|
boolean |
isEmpty() |
boolean |
isFunction() |
boolean |
isList() |
MessageSet |
validate(ApplicationUser searcher,
EmptyOperand operand,
TerminalClause terminalClause)
Will perform operand specific validation.
|
public MessageSet validate(ApplicationUser searcher, EmptyOperand operand, TerminalClause terminalClause)
OperandHandlervalidate in interface OperandHandler<EmptyOperand>searcher - the user performing the searchoperand - the operand to validateterminalClause - the terminal clause that contains the operandpublic List<QueryLiteral> getValues(QueryCreationContext queryCreationContext, EmptyOperand operand, TerminalClause terminalClause)
OperandHandlergetValues in interface OperandHandler<EmptyOperand>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<EmptyOperand>public boolean isEmpty()
isEmpty in interface OperandHandler<EmptyOperand>EmptyOperandpublic boolean isFunction()
isFunction in interface OperandHandler<EmptyOperand>FunctionOperandCopyright © 2002-2021 Atlassian. All Rights Reserved.