public static class Restriction.RestrictionWithProperty<T> extends Object
Constructor and Description |
---|
RestrictionWithProperty(Property<T> property) |
Modifier and Type | Method and Description |
---|---|
PropertyRestriction<T> |
containing(T value)
Returns a property restriction that is only satisfied if the value of the property contains the given value.
|
PropertyRestriction<T> |
endingWith(T value)
Returns a property restriction that is only satisfied if the value of the property ends with the given
value.
|
PropertyRestriction<T> |
exactlyMatching(T value)
Returns a property restriction that is only satisfied if the value of the property exactly matches the given
value.
|
SearchRestriction |
exactlyMatchingAny(Collection<T> values)
Returns a property restriction that is only satisfied if the value of the property exactly matches any of
the given values
|
PropertyRestriction<T> |
greaterThan(T value)
Returns a property restriction that is only satisfied if the value of the property is greater than the given
value.
|
PropertyRestriction<T> |
greaterThanOrEqual(T value)
Returns a property restriction that is only satisfied if the value of the property is greater than or equal
to the given value.
|
PropertyRestriction<T> |
isNull()
Returns a property restriction that is only satisfied if the value of the property is null.
|
PropertyRestriction<T> |
lessThan(T value)
Returns a property restriction that is only satisfied if the value of the property is less than the given
value.
|
PropertyRestriction<T> |
lessThanOrEqual(T value)
Returns a property restriction that is only satisfied if the value of the property is less than or equal to
the given value.
|
PropertyRestriction<T> |
startingWith(T value)
Returns a property restriction that is only satisfied if the value of the property starts with the given
value.
|
public PropertyRestriction<T> exactlyMatching(T value)
value
- value to exactly matchpublic SearchRestriction exactlyMatchingAny(Collection<T> values)
values
- values to exactly matchpublic PropertyRestriction<T> startingWith(T value)
value
- prefix valuepublic PropertyRestriction<T> endingWith(T value)
value
- suffix valuepublic PropertyRestriction<T> containing(T value)
value
- value to containpublic PropertyRestriction<T> lessThan(T value)
value
- value to be less thanpublic PropertyRestriction<T> lessThanOrEqual(T value)
value
- value to be less than or equalpublic PropertyRestriction<T> greaterThan(T value)
value
- value to be greater thanpublic PropertyRestriction<T> greaterThanOrEqual(T value)
value
- value to be greater than or equal topublic PropertyRestriction<T> isNull()
Copyright © 2020 Atlassian. All rights reserved.