Package com.atlassian.query.operand
Class MultiValueOperand
java.lang.Object
com.atlassian.query.operand.MultiValueOperand
- All Implemented Interfaces:
Operand
,Serializable
Used to represent a multiple constant values as an Operand.
- Since:
- v4.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMultiValueOperand
(QueryLiteral... literals) MultiValueOperand
(Operand... operands) MultiValueOperand
(Long... longs) MultiValueOperand
(String... stringValues) MultiValueOperand
(Collection<? extends Operand> values) MultiValueOperand
(List<Long> longs) -
Method Summary
Modifier and TypeMethodDescription<R> R
accept
(OperandVisitor<R> visitor) Allows us to perform operations over the operand based on the passed in visitor.boolean
Produces the unexpanded representation of the Operand.getName()
The name that represents this Operand.int
hashCode()
static MultiValueOperand
ofQueryLiterals
(Collection<QueryLiteral> literals)
-
Field Details
-
OPERAND_NAME
- See Also:
-
-
Constructor Details
-
MultiValueOperand
-
MultiValueOperand
-
MultiValueOperand
-
MultiValueOperand
-
MultiValueOperand
-
MultiValueOperand
-
-
Method Details
-
ofQueryLiterals
-
getValues
-
getName
Description copied from interface:Operand
The name that represents this Operand. -
getDisplayString
Description copied from interface:Operand
Produces the unexpanded representation of the Operand. In the case of a function operand this would be the function as represented in the Query (i.e. group(jira-users)).- Specified by:
getDisplayString
in interfaceOperand
- Returns:
- a string that represents this operand as represented in the JQL query string.
-
accept
Description copied from interface:Operand
Allows 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. -
equals
-
hashCode
public int hashCode()
-