org.keycloak.models.cache.infinispan.stream

## Class HasRolePredicate

- java.lang.Object
- - org.keycloak.models.cache.infinispan.stream.HasRolePredicate

- All Implemented Interfaces:
    Serializable, Predicate<Map.Entry<String,Revisioned>>

      @SerializeWith(value=HasRolePredicate.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 and Description
    --- | ---
    `static class` | `HasRolePredicate.ExternalizerImpl`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HasRolePredicate()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static HasRolePredicate` | `create()`
    `HasRolePredicate` | `role(String role)`
    `boolean` | `test(Map.Entry<String,Revisioned> entry)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.function.Predicate

      `and, isEqual, negate, or`

- - ### Constructor Detail

    - #### HasRolePredicate

          public HasRolePredicate()

  - ### 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 interface `Predicate<Map.Entry<String,Revisioned>>`

Copyright © 2021 JBoss by Red Hat. All rights reserved.