Class TypedPropertyCriteria
java.lang.Object
org.keycloak.models.utils.reflection.TypedPropertyCriteria
- All Implemented Interfaces:
PropertyCriteria
A criteria that matches a property based on its type
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Different options can be used to match a specific property based on its type. -
Constructor Summary
ConstructorDescriptionTypedPropertyCriteria
(Class<?> propertyClass) TypedPropertyCriteria
(Class<?> propertyClass, TypedPropertyCriteria.MatchOption matchOption) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Tests whether the specified method matches the criteria
-
Constructor Details
-
TypedPropertyCriteria
-
TypedPropertyCriteria
-
-
Method Details
-
fieldMatches
-
methodMatches
Description copied from interface:PropertyCriteria
Tests whether the specified method matches the criteria- Specified by:
methodMatches
in interfacePropertyCriteria
- Returns:
- true if the method matches
-