Package graphql.introspection
Interface IntrospectionWithDirectivesSupport.DirectivePredicate
- Enclosing class:
IntrospectionWithDirectivesSupport
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@PublicSpi
@FunctionalInterface
public static interface IntrospectionWithDirectivesSupport.DirectivePredicate
A callback which allows you to decide what directives may be included
in introspection extensions
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the directive should be included
-
Method Details
-
isDirectiveIncluded
boolean isDirectiveIncluded(IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment environment) Return true if the directive should be included- Parameters:
environment
- the callback parameters- Returns:
- true if the directive should be included
-