public class Restriction extends Object
Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
It is a good idea to add a static import to UserTermKeys
in your class to make things even more convenient.| Modifier and Type | Class and Description |
|---|---|
static class |
Restriction.RestrictionWithProperty<T> |
| Constructor and Description |
|---|
Restriction() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Restriction.RestrictionWithProperty<T> |
on(Property<T> property)
Returns an intermediate form of a property restriction.
|
public static <T> Restriction.RestrictionWithProperty<T> on(Property<T> property)
Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
property - property to restrict onCopyright © 2016 Atlassian. All Rights Reserved.