T
- the type of the object in play@PublicApi public interface SchemaDirectiveWiringEnvironment<T extends GraphQLDirectiveContainer>
SchemaDirectiveWiring
is passed this object as parameters
when it builds out behaviourModifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getBuildContext() |
GraphQLCodeRegistry.Builder |
getCodeRegistry() |
GraphQLDirective |
getDirective() |
T |
getElement() |
GraphqlElementParentTree |
getElementParentTree()
The type hierarchy depends on the element in question.
|
GraphQLFieldDefinition |
getFieldDefinition() |
GraphQLFieldsContainer |
getFieldsContainer() |
NodeParentTree<NamedNode> |
getNodeParentTree()
The node hierarchy depends on the element in question.
|
TypeDefinitionRegistry |
getRegistry() |
T getElement()
GraphQLDirective getDirective()
NodeParentTree<NamedNode> getNodeParentTree()
ObjectTypeDefinition
nodes
have no parent, however a Argument
might be on a FieldDefinition
which in turn might be on a ObjectTypeDefinition
sayGraphqlElementParentTree getElementParentTree()
GraphQLObjectType
elements
have no parent, however a GraphQLArgument
might be on a GraphQLFieldDefinition
which in turn might be on a GraphQLObjectType
sayTypeDefinitionRegistry getRegistry()
java.util.Map<java.lang.String,java.lang.Object> getBuildContext()
GraphQLCodeRegistry.Builder getCodeRegistry()
GraphQLFieldsContainer getFieldsContainer()
GraphQLFieldsContainer
when the element is contained with a fields containerGraphQLFieldDefinition getFieldDefinition()
GraphQLFieldDefinition
when the element is one or is contained within one