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)
OperandHandler
validate
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)
OperandHandler
getValues
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>
EmptyOperand
public boolean isFunction()
isFunction
in interface OperandHandler<EmptyOperand>
FunctionOperand
Copyright © 2002-2024 Atlassian. All Rights Reserved.