public class SchemaDirectiveWiringEnvironmentImpl<T extends GraphQLDirectiveContainer> extends java.lang.Object implements SchemaDirectiveWiringEnvironment<T>
Constructor and Description |
---|
SchemaDirectiveWiringEnvironmentImpl(T element,
GraphQLDirective directive,
NodeParentTree<NamedNode> nodeParentTree,
TypeDefinitionRegistry typeDefinitionRegistry,
java.util.Map<java.lang.String,java.lang.Object> context) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getBuildContext() |
GraphQLDirective |
getDirective() |
T |
getElement() |
NodeParentTree<NamedNode> |
getNodeParentTree()
The node hierarchy depends on the element in question.
|
TypeDefinitionRegistry |
getRegistry() |
public SchemaDirectiveWiringEnvironmentImpl(T element, GraphQLDirective directive, NodeParentTree<NamedNode> nodeParentTree, TypeDefinitionRegistry typeDefinitionRegistry, java.util.Map<java.lang.String,java.lang.Object> context)
public T getElement()
getElement
in interface SchemaDirectiveWiringEnvironment<T extends GraphQLDirectiveContainer>
public GraphQLDirective getDirective()
getDirective
in interface SchemaDirectiveWiringEnvironment<T extends GraphQLDirectiveContainer>
public NodeParentTree<NamedNode> getNodeParentTree()
SchemaDirectiveWiringEnvironment
ObjectTypeDefinition
nodes
have no parent, however a Argument
might be on a FieldDefinition
which in turn might be on a ObjectTypeDefinition
saygetNodeParentTree
in interface SchemaDirectiveWiringEnvironment<T extends GraphQLDirectiveContainer>
public TypeDefinitionRegistry getRegistry()
getRegistry
in interface SchemaDirectiveWiringEnvironment<T extends GraphQLDirectiveContainer>
public java.util.Map<java.lang.String,java.lang.Object> getBuildContext()
getBuildContext
in interface SchemaDirectiveWiringEnvironment<T extends GraphQLDirectiveContainer>