Class HasRolePredicate
- java.lang.Object
-
- org.keycloak.models.cache.infinispan.stream.HasRolePredicate
-
- All Implemented Interfaces:
Serializable
,Predicate<Map.Entry<String,Revisioned>>
@SerializeWith(ExternalizerImpl.class) public class HasRolePredicate extends Object implements Predicate<Map.Entry<String,Revisioned>>, Serializable
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HasRolePredicate.ExternalizerImpl
-
Constructor Summary
Constructors Constructor Description HasRolePredicate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HasRolePredicate
create()
HasRolePredicate
role(String role)
boolean
test(Map.Entry<String,Revisioned> entry)
-
-
-
Method Detail
-
create
public static HasRolePredicate create()
-
role
public HasRolePredicate role(String role)
-
test
public boolean test(Map.Entry<String,Revisioned> entry)
- Specified by:
test
in interfacePredicate<Map.Entry<String,Revisioned>>
-
-