Package graphql.introspection
Interface IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment
- Enclosing class:
IntrospectionWithDirectivesSupport
The parameter environment on a call to
IntrospectionWithDirectivesSupport.DirectivePredicate
-
Method Summary
Modifier and TypeMethodDescriptionThe schema element that contained this directive.boolean
A schema has two list of directives.
-
Method Details
-
getDirectiveContainer
GraphQLDirectiveContainer getDirectiveContainer()The schema element that contained this directive. If this is aGraphQLSchema
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
-