Package com.atlassian.jira.jql.util
Class ArgumentExtractingOperandVisitor
java.lang.Object
com.atlassian.jira.jql.util.ArgumentExtractingOperandVisitor
- All Implemented Interfaces:
OperandVisitor<List<String>>
public class ArgumentExtractingOperandVisitor
extends Object
implements OperandVisitor<List<String>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisit
(EmptyOperand emptyOperand) The method called when visiting anEmptyOperand
.visit
(FunctionOperand functionOperand) The method called when visiting aFunctionOperand
.visit
(MultiValueOperand multiValueOperand) The method called when visiting anMultiValueOperand
.visit
(SingleValueOperand singleValueOperand) The method called when visiting anSingleValueOperand
.
-
Constructor Details
-
ArgumentExtractingOperandVisitor
public ArgumentExtractingOperandVisitor()
-
-
Method Details
-
visit
Description copied from interface:OperandVisitor
The method called when visiting anEmptyOperand
.- Specified by:
visit
in interfaceOperandVisitor<List<String>>
- Parameters:
emptyOperand
- the operand being visited.- Returns:
- the value to return from the operand visit.
-
visit
Description copied from interface:OperandVisitor
The method called when visiting aFunctionOperand
.- Specified by:
visit
in interfaceOperandVisitor<List<String>>
- Parameters:
functionOperand
- the operand being visited.- Returns:
- the value to return from the operand visit.
-
visit
Description copied from interface:OperandVisitor
The method called when visiting anMultiValueOperand
.- Specified by:
visit
in interfaceOperandVisitor<List<String>>
- Parameters:
multiValueOperand
- the operand being visited.- Returns:
- the value to return from the operand visit.
-
visit
Description copied from interface:OperandVisitor
The method called when visiting anSingleValueOperand
.- Specified by:
visit
in interfaceOperandVisitor<List<String>>
- Parameters:
singleValueOperand
- the operand being visited.- Returns:
- the value to return from the operand visit.
-