@SerializeWith(value=HasRolePredicate.ExternalizerImpl.class) public class HasRolePredicate extends Object implements Predicate<Map.Entry<String,Revisioned>>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
HasRolePredicate.ExternalizerImpl |
Constructor and Description |
---|
HasRolePredicate() |
Modifier and Type | Method and Description |
---|---|
static HasRolePredicate |
create() |
HasRolePredicate |
role(String role) |
boolean |
test(Map.Entry<String,Revisioned> entry) |
public static HasRolePredicate create()
public HasRolePredicate role(String role)
public boolean test(Map.Entry<String,Revisioned> entry)
test
in interface Predicate<Map.Entry<String,Revisioned>>
Copyright © 2020 JBoss by Red Hat. All rights reserved.