org.keycloak.models.cache.infinispan.authorization.stream

## Class InResourcePredicate

- java.lang.Object
- - org.keycloak.models.cache.infinispan.authorization.stream.InResourcePredicate

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

      @SerializeWith(value=InResourcePredicate.ExternalizerImpl.class)
      public class InResourcePredicate
      extends Object
      implements Predicate<Map.Entry<String,Revisioned>>, Serializable

  Author:
    Pedro Igor
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `InResourcePredicate.ExternalizerImpl`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InResourcePredicate()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static InResourcePredicate` | `create()`
    `InResourcePredicate` | `resource(String id)`
    `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

    - #### InResourcePredicate

          public InResourcePredicate()

  - ### Method Detail

    - #### create

          public static InResourcePredicate create()

    - #### resource

          public InResourcePredicate resource(String id)

    - #### 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.