Package graphql.schema.visitor
Class GraphQLSchemaVisitorAdapter.ArgumentEnv
- java.lang.Object
-
- graphql.schema.visitor.GraphQLSchemaVisitorEnvironmentImpl<GraphQLArgument>
-
- graphql.schema.visitor.GraphQLSchemaVisitorAdapter.ArgumentEnv
-
- All Implemented Interfaces:
GraphQLSchemaVisitor.ArgumentVisitorEnvironment
,GraphQLSchemaVisitorEnvironment<GraphQLArgument>
- Enclosing class:
- GraphQLSchemaVisitorAdapter
static class GraphQLSchemaVisitorAdapter.ArgumentEnv extends GraphQLSchemaVisitorEnvironmentImpl<GraphQLArgument> implements GraphQLSchemaVisitor.ArgumentVisitorEnvironment
-
-
Field Summary
-
Fields inherited from class graphql.schema.visitor.GraphQLSchemaVisitorEnvironmentImpl
context
-
-
Constructor Summary
Constructors Constructor Description ArgumentEnv(TraverserContext<GraphQLSchemaElement> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLNamedSchemaElement
getContainer()
GraphQLNamedInputType
getUnwrappedType()
-
Methods inherited from class graphql.schema.visitor.GraphQLSchemaVisitorEnvironmentImpl
changeNode, deleteNode, getCodeRegistry, getElement, getLeadingElements, getSchema, getUnwrappedLeadingElements, insertAfter, insertBefore, ok, quit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface graphql.schema.visitor.GraphQLSchemaVisitorEnvironment
changeNode, deleteNode, getCodeRegistry, getElement, getLeadingElements, getSchema, getUnwrappedLeadingElements, insertAfter, insertBefore, ok, quit
-
-
-
-
Constructor Detail
-
ArgumentEnv
public ArgumentEnv(TraverserContext<GraphQLSchemaElement> context)
-
-
Method Detail
-
getContainer
public GraphQLNamedSchemaElement getContainer()
- Specified by:
getContainer
in interfaceGraphQLSchemaVisitor.ArgumentVisitorEnvironment
- Returns:
- either a
GraphQLFieldDefinition
or aGraphQLDirective
-
getUnwrappedType
public GraphQLNamedInputType getUnwrappedType()
- Specified by:
getUnwrappedType
in interfaceGraphQLSchemaVisitor.ArgumentVisitorEnvironment
- Returns:
- this elements type that has been unwrapped of
GraphQLNonNull
andGraphQLList
-
-