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> |
exactlyMatching(T value)
Returns a property restriction that is only satisfied if the value of the property exactly matches the given
value.
|
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> |
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> |
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 PropertyRestriction<T> startingWith(T value)
value - prefix valuepublic PropertyRestriction<T> containing(T value)
value - value to containpublic PropertyRestriction<T> lessThan(T value)
value - value to be less thanpublic PropertyRestriction<T> greaterThan(T value)
value - value to be greater thanpublic PropertyRestriction<T> isNull()
Copyright © 2018 Atlassian. All rights reserved.