Class PredicateSupportable
- java.lang.Object
-
- nl._42.beanie.generator.supported.PredicateSupportable
-
- All Implemented Interfaces:
Supportable
public class PredicateSupportable extends Object implements Supportable
Java8 predicate based supportable implementation.- Since:
- Jun 8, 2016
- Author:
- Jeroen van Schagen
-
-
Constructor Summary
Constructors Constructor Description PredicateSupportable(Predicate<AccessibleObject> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(AccessibleObject object)
Determine if this accessible object is supported.
-
-
-
Constructor Detail
-
PredicateSupportable
public PredicateSupportable(Predicate<AccessibleObject> predicate)
-
-
Method Detail
-
supports
public boolean supports(AccessibleObject object)
Determine if this accessible object is supported.- Specified by:
supports
in interfaceSupportable
- Parameters:
object
- the object- Returns:
- whether it is supported
-
-