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