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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isDirectiveIncluded(IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment environment)
Return true if the directive should be included
-
-
-
Method Detail
-
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
-
-