public class HasRolePredicate extends Object implements java.util.function.Predicate<Map.Entry<String,Revisioned>>, Serializable
Constructor and Description |
---|
HasRolePredicate() |
Modifier and Type | Method and Description |
---|---|
static HasRolePredicate |
create() |
HasRolePredicate |
role(String role) |
boolean |
test(Map.Entry<String,Revisioned> entry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, isEqual, negate, or
public static HasRolePredicate create()
public HasRolePredicate role(String role)
public boolean test(Map.Entry<String,Revisioned> entry)
test
in interface java.util.function.Predicate<Map.Entry<String,Revisioned>>
Copyright © 2016 JBoss by Red Hat. All rights reserved.