public final class Operands extends Object
Modifier and Type | Method and Description |
---|---|
protected Object |
clone() |
static Operand |
getEmpty()
Return an operand that represents the JQL EMPTY value.
|
static Operand |
valueOf(Long... values)
Create an operands that represents a list of passed numbers.
|
static Operand |
valueOf(Long value)
Create an operand that represents the passed number.
|
static Operand |
valueOf(Operand... operands)
Create an operand that represents a list of the passed operands.
|
static Operand |
valueOf(String... values)
Create an operands that represents a list of passed string values.
|
static Operand |
valueOf(String value)
Create an operand that represents the passed string.
|
static Operand |
valueOfNumbers(Collection<Long> values)
Create an operands that represents a list of passed numbers.
|
static Operand |
valueOfOperands(Collection<Operand> operands)
Create an operand that represents a list of the passed operands.
|
static Operand |
valueOfStrings(Collection<String> values)
Create an operands that represents a list of passed string values.
|
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static Operand valueOf(String value)
value
- the value to wrap as an operand. Cannot be null.public static Operand valueOf(String... values)
values
- the list of values to represent. Cannot be null, empty or contain any null values.public static Operand valueOfStrings(Collection<String> values)
values
- the list of values to represent. Cannot be null, empty or contain any null values.public static Operand valueOf(Long value)
value
- the value to wrap as an operand. Cannot be null.public static Operand valueOf(Long... values)
values
- the list of values to represent. Cannot be null, empty or contain any null values.public static Operand valueOfNumbers(Collection<Long> values)
values
- the list of values to represent. Cannot be null, empty or contain any null values.public static Operand valueOf(Operand... operands)
operands
- the list of value to convert. Cannot be null, empty or contain any null values.public static Operand valueOfOperands(Collection<Operand> operands)
operands
- the list of value to convert. Cannot be null, empty or contain any null values.public static Operand getEmpty()
Copyright © 2002-2016 Atlassian. All Rights Reserved.