Class Restriction
java.lang.Object
com.atlassian.crowd.search.builder.Restriction
Example usage:
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.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Restriction.RestrictionWithProperty<T>
Returns an intermediate form of a property restriction.
-
Constructor Details
-
Restriction
public Restriction()
-
-
Method Details
-
on
Returns an intermediate form of a property restriction.Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
- Parameters:
property
- property to restrict on- Returns:
- intermediate form of a property restriction
-