Class FunctionOperand
java.lang.Object
com.atlassian.query.operand.FunctionOperand
- All Implemented Interfaces:
Operand, Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionOperand(String name) FunctionOperand(String name, String... args) FunctionOperand(String name, Collection<String> args) -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(OperandVisitor<R> visitor) Allows us to perform operations over the operand based on the passed in visitor.booleanCLOVER: OFFgetArgs()Renders the function call with its name and arguments for display in the UI.getName()The name that represents this Operand.inthashCode()CLOVER:OFF
-
Constructor Details
-
FunctionOperand
-
FunctionOperand
-
FunctionOperand
-
-
Method Details
-
getName
Description copied from interface:OperandThe name that represents this Operand. -
getDisplayString
Renders the function call with its name and arguments for display in the UI.- Specified by:
getDisplayStringin interfaceOperand- Returns:
- something that looks like this: shear(sheep, goats).
-
accept
Description copied from interface:OperandAllows us to perform operations over the operand based on the passed in visitor. This method calls the visit method on the visitor with this reference. -
getArgs
-
equals
-
hashCode
-