Interface IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment

Enclosing class:
IntrospectionWithDirectivesSupport

@PublicApi public static interface IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment
The parameter environment on a call to IntrospectionWithDirectivesSupport.DirectivePredicate
  • Method Details

    • getDirectiveContainer

      GraphQLDirectiveContainer getDirectiveContainer()
      The schema element that contained this directive. If this is a GraphQLSchema then this will be null. This is the only case where this is true.
      Returns:
      the schema element that contained this directive.
    • getDirectiveName

      String getDirectiveName()
      Returns:
      the directive to be included
    • isDefinedDirective

      boolean isDefinedDirective()
      A schema has two list of directives. A list of directives that are defined in that schema and the list of directives that are applied to a schema element. This returns true if this filtering represents the defined directives.
      Returns:
      true if this is filtering defined directives
    • getSchema

      GraphQLSchema getSchema()
      Returns:
      graphql schema in place