public interface ConditionBuilder
JqlClauseBuilder
. For
example, the JqlClauseBuilder.affectedVersion()
method creates a new ConditionBuilder for the affectes version
system field in JIRA.
The object's main job is to specify the operator for the JQL current condition being generated. The value of the JQL
condition can be specified when the operator is specified, or later using the ValueBuilder
. For example, the JQL clause affectedVersion = "1.2"
can be
generated using JqlQueryBuilder.affectedVersion().eq("1.2").build()
or JqlQueryBuilder.affectedVersion().eq().string("1.2").build()
.
Generally, it is not possible to passs nulls, empty collections, empty arrays, collections that contain nulls, or arrays
that contain nulls to the method on the interface. Any exceptions to these argument conditions are documented on the method concern.
Passing a method a bad argument will result in a IllegalArgumentException
.
JQL values are of two types String
and Long
. For fields that are resolvable by both Id's and Names (e.g.
projects, versions, issue types, components, options etc), the order of resolution depends on the value type. If the JQL
value type is long, JIRA will first attempt to find the domain object by Id, if that fails, it will attempt to find
the domain object by name with the string value of the long. If the JQL value type is a String, JIRA will first try to find
the domain object by name, if that fails AND the string can be parsed into a number, JIRA attempts to find the domain object by
id with that number.
JqlClauseBuilder
,
ValueBuilder
,
JqlQueryBuilder
Modifier and Type | Method and Description |
---|---|
ValueBuilder |
eq()
Make the operator for the JQL condition
equals . |
JqlClauseBuilder |
eq(Date date)
Create the JQL condition with the
equals operator and the
passed date. |
JqlClauseBuilder |
eq(Long value)
Create the JQL condition with the
equals operator and the
passed value. |
JqlClauseBuilder |
eq(Operand operand)
Create the JQL condition with the
equals operator and the
passed value. |
JqlClauseBuilder |
eq(String value)
Create the JQL condition with the
equals operator and the
passed value. |
JqlClauseBuilder |
eqEmpty()
Create the JQL condition with the
equals operator and the
EMPTY value. |
JqlClauseBuilder |
eqFunc(String funcName)
Create the JQL condition with the
equals operator and the
passed function. |
JqlClauseBuilder |
eqFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
equals operator and the
passed function. |
JqlClauseBuilder |
eqFunc(String funcName,
String... args)
Create the JQL condition with the
equals operator and the
passed function. |
ValueBuilder |
gt()
Make the operator for the JQL condition
greater than . |
JqlClauseBuilder |
gt(Date date)
Create the JQL condition with the
greater than operator and the
passed date. |
JqlClauseBuilder |
gt(Long value)
Create the JQL condition with the
greater than
operator and the passed value. |
JqlClauseBuilder |
gt(Operand operand)
Create the JQL condition with the
greater than
operator and the passed value. |
JqlClauseBuilder |
gt(String value)
Create the JQL condition with the
greater than
operator and the passed value. |
ValueBuilder |
gtEq()
Make the operator for the JQL condition
greater
than equals . |
JqlClauseBuilder |
gtEq(Date date)
Create the JQL condition with the
greater than or equals operator and the
passed date. |
JqlClauseBuilder |
gtEq(Long value)
Create the JQL condition with the
greater than
equals operator and the passed value. |
JqlClauseBuilder |
gtEq(Operand operand)
Create the JQL condition with the
greater than
equals operator and the passed value. |
JqlClauseBuilder |
gtEq(String value)
Create the JQL condition with the
greater than
equals operator and the passed value. |
JqlClauseBuilder |
gtEqFunc(String funcName)
Create the JQL condition with the
greater than
equals operator and the passed function. |
JqlClauseBuilder |
gtEqFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
greater than
equals operator and the passed function. |
JqlClauseBuilder |
gtEqFunc(String funcName,
String... args)
Create the JQL condition with the
greater than
equals operator and the passed function. |
JqlClauseBuilder |
gtFunc(String funcName)
Create the JQL condition with the
">" operator and
the passed function. |
JqlClauseBuilder |
gtFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
">" operator and
the passed function. |
JqlClauseBuilder |
gtFunc(String funcName,
String... args)
Create the JQL condition with the
">" operator and
the passed function. |
ValueBuilder |
in()
Make the operator for the JQL condition
in . |
JqlClauseBuilder |
in(Date... dates)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
in(Long... values)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
in(Operand... operands)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
in(String... values)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
inDates(Collection<Date> dates)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
inFunc(String funcName)
Create the JQL condition with the
"in" operator and
the passed function. |
JqlClauseBuilder |
inFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
"in" operator and
the passed function. |
JqlClauseBuilder |
inFunc(String funcName,
String... args)
Create the JQL condition with the
"in" operator and
the passed function. |
JqlClauseBuilder |
inNumbers(Collection<Long> values)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
inOperands(Collection<Operand> operands)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
inStrings(Collection<String> values)
Create the JQL condition with the
in operator and the passed
values. |
ValueBuilder |
is()
Make the operator for the JQL condition
is . |
JqlClauseBuilder |
isEmpty()
Create the JQL condition with the
is operator and the EMPTY
value. |
ValueBuilder |
isNot()
Make the operator for the JQL condition
is not . |
JqlClauseBuilder |
isNotEmpty()
Create the JQL condition with the
is not operator and the
EMPTY value. |
ValueBuilder |
like()
Make the operator for the JQL condition
like . |
JqlClauseBuilder |
like(Date date)
Create the JQL condition with the
like operator and the
passed date. |
JqlClauseBuilder |
like(Long value)
Create the JQL condition with the
like operator and the passed
value. |
JqlClauseBuilder |
like(Operand operand)
Create the JQL condition with the
like operator and the passed
value. |
JqlClauseBuilder |
like(String value)
Create the JQL condition with the
like operator and the passed
value. |
JqlClauseBuilder |
likeFunc(String funcName)
Create the JQL condition with the
like operator and the passed
function. |
JqlClauseBuilder |
likeFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
like operator and the passed
function. |
JqlClauseBuilder |
likeFunc(String funcName,
String... args)
Create the JQL condition with the
like operator and the passed
function. |
ValueBuilder |
lt()
Make the operator for the JQL condition
less than . |
JqlClauseBuilder |
lt(Date date)
Create the JQL condition with the
less than operator and the
passed date. |
JqlClauseBuilder |
lt(Long value)
Create the JQL condition with the
less than operator and
the passed value. |
JqlClauseBuilder |
lt(Operand operand)
Create the JQL condition with the
less than operator and
the passed value. |
JqlClauseBuilder |
lt(String value)
Create the JQL condition with the
less than operator and
the passed value. |
ValueBuilder |
ltEq()
Make the operator for the JQL condition
less than
equals . |
JqlClauseBuilder |
ltEq(Date date)
Create the JQL condition with the
less than or equals operator and the
passed date. |
JqlClauseBuilder |
ltEq(Long value)
Create the JQL condition with the
less than equals
operator and the passed value. |
JqlClauseBuilder |
ltEq(Operand operand)
Create the JQL condition with the
less than equals
operator and the passed value. |
JqlClauseBuilder |
ltEq(String value)
Create the JQL condition with the
less than equals
operator and the passed value. |
JqlClauseBuilder |
ltEqFunc(String funcName)
Create the JQL condition with the
"<="
operator and the passed function. |
JqlClauseBuilder |
ltEqFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
"<="
operator and the passed function. |
JqlClauseBuilder |
ltEqFunc(String funcName,
String... args)
Create the JQL condition with the
"<="
operator and the passed function. |
JqlClauseBuilder |
ltFunc(String funcName)
Create the JQL condition with the
"<" operator and
the passed function. |
JqlClauseBuilder |
ltFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
"<" operator and
the passed function. |
JqlClauseBuilder |
ltFunc(String funcName,
String... args)
Create the JQL condition with the
"<" operator and
the passed function. |
ValueBuilder |
notEq()
Make the operator for the JQL condition
not equals . |
JqlClauseBuilder |
notEq(Date date)
Create the JQL condition with the
not equals operator and the
passed date. |
JqlClauseBuilder |
notEq(Long value)
Create the JQL condition with the
not equals operator
and the passed value. |
JqlClauseBuilder |
notEq(Operand operand)
Create the JQL condition with the
not equals operator
and the passed value. |
JqlClauseBuilder |
notEq(String value)
Create the JQL condition with the
not equals operator
and the passed value. |
JqlClauseBuilder |
notEqEmpty()
Create the JQL condition with the
not equals operator
and the EMPTY value. |
JqlClauseBuilder |
notEqFunc(String funcName)
Create the JQL condition with the
not equals operator
and the passed function. |
JqlClauseBuilder |
notEqFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
not equals operator
and the passed function. |
JqlClauseBuilder |
notEqFunc(String funcName,
String... args)
Create the JQL condition with the
not equals operator
and the passed function. |
ValueBuilder |
notIn()
Make the operator for the JQL condition
not in . |
JqlClauseBuilder |
notIn(Date... dates)
Create the JQL condition with the
not in operator and the passed
values. |
JqlClauseBuilder |
notIn(Long... values)
Create the JQL condition with the
not in operator and the
passed values. |
JqlClauseBuilder |
notIn(Operand... operands)
Create the JQL condition with the
not in operator and the
passed values. |
JqlClauseBuilder |
notIn(String... values)
Create the JQL condition with the
not in operator and the
passed values. |
JqlClauseBuilder |
notInDates(Collection<Date> dates)
Create the JQL condition with the
in operator and the passed
values. |
JqlClauseBuilder |
notInFunc(String funcName)
Create the JQL condition with the
"not in" operator and
the passed function. |
JqlClauseBuilder |
notInFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
"not in" operator and
the passed function. |
JqlClauseBuilder |
notInFunc(String funcName,
String... args)
Create the JQL condition with the
"not in" operator and
the passed function. |
JqlClauseBuilder |
notInNumbers(Collection<Long> values)
Create the JQL condition with the
not in operator and the
passed values. |
JqlClauseBuilder |
notInOperands(Collection<Operand> operands)
Create the JQL condition with the
not in operator and the passed
values. |
JqlClauseBuilder |
notInStrings(Collection<String> values)
Create the JQL condition with the
not in operator and the
passed values. |
ValueBuilder |
notLike()
Make the operator for the JQL condition
not like . |
JqlClauseBuilder |
notLike(Date date)
Create the JQL condition with the
not like operator and the
passed date. |
JqlClauseBuilder |
notLike(Long value)
Create the JQL condition with the
not like operator and
the passed value. |
JqlClauseBuilder |
notLike(Operand operand)
Create the JQL condition with the
not like operator and
the passed value. |
JqlClauseBuilder |
notLike(String value)
Create the JQL condition with the
not like operator and
the passed value. |
JqlClauseBuilder |
notLikeFunc(String funcName)
Create the JQL condition with the
not like operator and
the passed function. |
JqlClauseBuilder |
notLikeFunc(String funcName,
Collection<String> args)
Create the JQL condition with the
not like operator and
the passed function. |
JqlClauseBuilder |
notLikeFunc(String funcName,
String... args)
Create the JQL condition with the
not like operator and
the passed function. |
JqlClauseBuilder |
range(Date start,
Date end)
Add a condition range condition to the current query for the passed dates.
|
JqlClauseBuilder |
range(Long start,
Long end)
Add a condition range condition to the current query for the passed values.
|
JqlClauseBuilder |
range(Operand start,
Operand end)
Add a condition range condition to the current query for the passed values.
|
JqlClauseBuilder |
range(String start,
String end)
Add a condition range condition to the current query for the passed values.
|
ValueBuilder eq()
equals
. The value of
the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder eq(String value)
equals operator
and the
passed value. It essentially creates the JQL condition name = "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eq(Long value)
equals operator
and the
passed value. It essentially creates the JQL condition name = value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eq(Date date)
equals operator
and the
passed date. It essentially creates the JQL condition name = date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eq(Operand operand)
equals operator
and the
passed value. It essentially creates the JQL condition name = operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eqEmpty()
equals operator
and the
EMPTY value. It essentially creates the JQL condition name = EMPTY
.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eqFunc(String funcName)
equals operator
and the
passed function. It essentially creates the JQL condition name = funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eqFunc(String funcName, String... args)
equals operator
and the
passed function. It essentially creates the JQL condition name = funcName(arg1, arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder eqFunc(String funcName, Collection<String> args)
equals operator
and the
passed function. It essentially creates the JQL condition name = funcName(arg1, arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder notEq()
not equals
. The
value of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder notEq(String value)
not equals operator
and the passed value. It essentially creates the JQL condition name != "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEq(Long value)
not equals operator
and the passed value. It essentially creates the JQL condition name != value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEq(Operand operand)
not equals operator
and the passed value. It essentially creates the JQL condition name != operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEq(Date date)
not equals operator
and the
passed date. It essentially creates the JQL condition name != date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEqEmpty()
not equals operator
and the EMPTY value. It essentially creates the JQL condition name != EMPTY
.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEqFunc(String funcName)
not equals operator
and the passed function. It essentially creates the JQL condition name != funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEqFunc(String funcName, String... args)
not equals operator
and the passed function. It essentially creates the JQL condition name != funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notEqFunc(String funcName, Collection<String> args)
not equals operator
and the passed function. It essentially creates the JQL condition name != funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder like()
like
. The value of the
condition can be specified using the returned ValueBuilder
.JqlClauseBuilder like(String value)
like operator
and the passed
value. It essentially creates the JQL condition name ~ "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder like(Long value)
like operator
and the passed
value. It essentially creates the JQL condition name ~ value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder like(Operand operand)
like operator
and the passed
value. It essentially creates the JQL condition name ~ operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder like(Date date)
like operator
and the
passed date. It essentially creates the JQL condition name ~ date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder likeFunc(String funcName)
like operator
and the passed
function. It essentially creates the JQL condition name ~ funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder likeFunc(String funcName, String... args)
like operator
and the passed
function. It essentially creates the JQL condition name ~ funcName(arg1, arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder likeFunc(String funcName, Collection<String> args)
like operator
and the passed
function. It essentially creates the JQL condition name != funcName(arg1, arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder notLike()
not like
. The
value of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder notLike(String value)
not like operator
and
the passed value. It essentially creates the JQL condition name !~ "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notLike(Long value)
not like operator
and
the passed value. It essentially creates the JQL condition name !~ value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notLike(Operand operand)
not like operator
and
the passed value. It essentially creates the JQL condition name !~ operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notLike(Date date)
not like operator
and the
passed date. It essentially creates the JQL condition name !~ date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notLikeFunc(String funcName)
not like operator
and
the passed function. It essentially creates the JQL condition name !~ funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notLikeFunc(String funcName, String... args)
not like operator
and
the passed function. It essentially creates the JQL condition name !~ funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notLikeFunc(String funcName, Collection<String> args)
not like operator
and
the passed function. It essentially creates the JQL condition name !~ funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder is()
is
. The value of the
condition can be specified using the returned ValueBuilder
.JqlClauseBuilder isEmpty()
is operator
and the EMPTY
value. It essentially creates the JQL condition name IS EMPTY
.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder isNot()
is not
. The value of
the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder isNotEmpty()
is not operator
and the
EMPTY value. It essentially creates the JQL condition name IS NOT EMPTY
.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder lt()
less than
. The
value of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder lt(String value)
less than operator
and
the passed value. It essentially creates the JQL condition name < "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder lt(Long value)
less than operator
and
the passed value. It essentially creates the JQL condition name < value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder lt(Operand operand)
less than operator
and
the passed value. It essentially creates the JQL condition name < operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder lt(Date date)
less than operator
and the
passed date. It essentially creates the JQL condition name < date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltFunc(String funcName)
"<" operator
and
the passed function. It essentially creates the JQL condition name < funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltFunc(String funcName, String... args)
"<" operator
and
the passed function. It essentially creates the JQL condition name < funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltFunc(String funcName, Collection<String> args)
"<" operator
and
the passed function. It essentially creates the JQL condition name < funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder ltEq()
less than
equals
. The value of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder ltEq(String value)
less than equals
operator
and the passed value. It essentially creates the JQL condition name <= "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltEq(Long value)
less than equals
operator
and the passed value. It essentially creates the JQL condition name <= value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltEq(Operand operand)
less than equals
operator
and the passed value. It essentially creates the JQL condition name <= operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltEq(Date date)
less than or equals operator
and the
passed date. It essentially creates the JQL condition name <= date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltEqFunc(String funcName)
"<="
operator
and the passed function. It essentially creates the JQL condition name <= funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltEqFunc(String funcName, String... args)
"<="
operator
and the passed function. It essentially creates the JQL condition name <= funcName(arg1,
arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder ltEqFunc(String funcName, Collection<String> args)
"<="
operator
and the passed function. It essentially creates the JQL condition name <= funcName(arg1,
arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder gt()
greater than
.
The value of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder gt(String value)
greater than
operator
and the passed value. It essentially creates the JQL condition name > "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gt(Long value)
greater than
operator
and the passed value. It essentially creates the JQL condition name > value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gt(Operand operand)
greater than
operator
and the passed value. It essentially creates the JQL condition name > operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gt(Date date)
greater than operator
and the
passed date. It essentially creates the JQL condition name > date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtFunc(String funcName)
">" operator
and
the passed function. It essentially creates the JQL condition name > funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtFunc(String funcName, String... args)
">" operator
and
the passed function. It essentially creates the JQL condition name > funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtFunc(String funcName, Collection<String> args)
">" operator
and
the passed function. It essentially creates the JQL condition name > funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder gtEq()
greater
than equals
. The value of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder gtEq(String value)
greater than
equals operator
and the passed value. It essentially creates the JQL condition name >= "str"
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtEq(Long value)
greater than
equals operator
and the passed value. It essentially creates the JQL condition name >= value
.value
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtEq(Operand operand)
greater than
equals operator
and the passed value. It essentially creates the JQL condition name >= operand
.operand
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtEq(Date date)
greater than or equals operator
and the
passed date. It essentially creates the JQL condition name >= date
.date
- the value of the condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtEqFunc(String funcName)
greater than
equals operator
and the passed function. It essentially creates the JQL condition name >= funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtEqFunc(String funcName, String... args)
greater than
equals operator
and the passed function. It essentially creates the JQL condition name >= funcName(arg1,
arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder gtEqFunc(String funcName, Collection<String> args)
greater than
equals operator
and the passed function. It essentially creates the JQL condition name >= funcName(arg1,
arg2, arg3, ... argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder in()
in
. The values of the
condition can be specified using the returned ValueBuilder
.JqlClauseBuilder in(String... values)
in operator
and the passed
values. It essentially creates the JQL condition name IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inStrings(Collection<String> values)
in operator
and the passed
values. It essentially creates the JQL condition name IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder in(Long... values)
in operator
and the passed
values. It essentially creates the JQL condition name IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inNumbers(Collection<Long> values)
in operator
and the passed
values. It essentially creates the JQL condition name IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder in(Operand... operands)
in operator
and the passed
values. It essentially creates the JQL condition name IN (operands)
.operands
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inOperands(Collection<Operand> operands)
in operator
and the passed
values. It essentially creates the JQL condition name IN (operands)
.operands
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder in(Date... dates)
in operator
and the passed
values. It essentially creates the JQL condition name IN (dates)
.dates
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inDates(Collection<Date> dates)
in operator
and the passed
values. It essentially creates the JQL condition name IN (dates)
.dates
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inFunc(String funcName)
"in" operator
and
the passed function. It essentially creates the JQL condition name in funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inFunc(String funcName, String... args)
"in" operator
and
the passed function. It essentially creates the JQL condition name in funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder inFunc(String funcName, Collection<String> args)
"in" operator
and
the passed function. It essentially creates the JQL condition name in funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.ValueBuilder notIn()
not in
. The values
of the condition can be specified using the returned ValueBuilder
.JqlClauseBuilder notIn(String... values)
not in operator
and the
passed values. It essentially creates the JQL condition name NOT IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInStrings(Collection<String> values)
not in operator
and the
passed values. It essentially creates the JQL condition name NOT IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notIn(Long... values)
not in operator
and the
passed values. It essentially creates the JQL condition name NOT IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInNumbers(Collection<Long> values)
not in operator
and the
passed values. It essentially creates the JQL condition name NOT IN (values)
.values
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notIn(Operand... operands)
not in operator
and the
passed values. It essentially creates the JQL condition name NOT IN (operands)
.operands
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notIn(Date... dates)
not in operator
and the passed
values. It essentially creates the JQL condition name NOT IN (dates)
.dates
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInDates(Collection<Date> dates)
in operator
and the passed
values. It essentially creates the JQL condition name NOT IN (dates)
.dates
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInOperands(Collection<Operand> operands)
not in operator
and the passed
values. It essentially creates the JQL condition name NOT IN (operands)
.operands
- the values of the condition. Cannot be null, empty or contain any null value.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInFunc(String funcName)
"not in" operator
and
the passed function. It essentially creates the JQL condition name not in funcName()
.funcName
- the name of the function in the new condition. Cannot be null.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInFunc(String funcName, String... args)
"not in" operator
and
the passed function. It essentially creates the JQL condition name not in funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder notInFunc(String funcName, Collection<String> args)
"not in" operator
and
the passed function. It essentially creates the JQL condition name not in funcName(arg1, arg2, arg3, ...
argN)
.funcName
- the name of the function in the new condition.args
- the arguments for the function. Cannot be null or contain any null values.JqlClauseBuilder
that created the condition.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.JqlClauseBuilder range(Date start, Date end)
clauseName >= start AND clauseName <= end
to the query being built.
It is also possible to create an open interval by passing one of the arguments as null
. Passing a non-null
start
with a null end
will add the condition clauseName >= start
. Passing
a non-null end
with a null start
will add the condition clauseName <= end
.
Passing a null start
and null end
is illegal.start
- the date for the start of the range. May be null if end
is not null.end
- the date for the end of the range. May be null if start
is not null.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.IllegalArgumentException
- if both start
and end
are null.JqlClauseBuilder range(String start, String end)
clauseName >= start AND clauseName <= end
to the query being built.
It is also possible to create an open interval by passing one of the arguments as null
. Passing a non-null
start
with a null end
will add the condition clauseName >= start
. Passing
a non-null end
with a null start
will add the condition clauseName <= end
.
Passing a null start
and null end
is illegal.start
- the value for the start of the range. May be null if end
is not null.end
- the value for the end of the range. May be null if start
is not null.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.IllegalArgumentException
- if both start
and end
are null.JqlClauseBuilder range(Long start, Long end)
clauseName >= start AND clauseName <= end
to the query being built.
It is also possible to create an open interval by passing one of the arguments as null
. Passing a non-null
start
with a null end
will add the condition clauseName >= start
. Passing
a non-null end
with a null start
will add the condition clauseName <= end
.
Passing a null start
and null end
is illegal.start
- the value for the start of the range. May be null if end
is not null.end
- the value for the end of the range. May be null if start
is not null.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.IllegalArgumentException
- if both start
and end
are null.JqlClauseBuilder range(Operand start, Operand end)
clauseName >= start AND clauseName <= end
to the query being built.
It is also possible to create an open interval by passing one of the arguments as null
. Passing a non-null
start
with a null end
will add the condition clauseName >= start
. Passing
a non-null end
with a null start
will add the condition clauseName <= end
.
Passing a null start
and null end
is illegal.start
- the value for the start of the range. May be null if end
is not null.end
- the value for the end of the range. May be null if start
is not null.IllegalStateException
- if it is not possible to add a JQL condition given the current state of the
builder.IllegalArgumentException
- if both start
and end
are null.Copyright © 2002-2018 Atlassian. All Rights Reserved.