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

## Class InScopePredicate

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

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

      @SerializeWith(value=InScopePredicate.ExternalizerImpl.class)
      public class InScopePredicate
      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` | `InScopePredicate.ExternalizerImpl`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InScopePredicate()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static InScopePredicate` | `create()`
    `InScopePredicate` | `scope(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

    - #### InScopePredicate

          public InScopePredicate()

  - ### Method Detail

    - #### create

          public static InScopePredicate create()

    - #### scope

          public InScopePredicate scope(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.