public class QueryVisitorFieldEnvironmentImpl extends java.lang.Object implements QueryVisitorFieldEnvironment
Constructor and Description |
---|
QueryVisitorFieldEnvironmentImpl(boolean typeNameIntrospectionField,
Field field,
GraphQLFieldDefinition fieldDefinition,
GraphQLOutputType parentType,
GraphQLFieldsContainer unmodifiedParentType,
QueryVisitorFieldEnvironment parentEnvironment,
java.util.Map<java.lang.String,java.lang.Object> arguments,
SelectionSetContainer selectionSetContainer,
TraverserContext<Node> traverserContext,
GraphQLSchema schema) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.Object> |
getArguments() |
Field |
getField() |
GraphQLFieldDefinition |
getFieldDefinition() |
GraphQLFieldsContainer |
getFieldsContainer() |
QueryVisitorFieldEnvironment |
getParentEnvironment() |
GraphQLOutputType |
getParentType() |
GraphQLSchema |
getSchema() |
SelectionSetContainer |
getSelectionSetContainer() |
TraverserContext<Node> |
getTraverserContext() |
int |
hashCode() |
boolean |
isTypeNameIntrospectionField() |
java.lang.String |
toString() |
public QueryVisitorFieldEnvironmentImpl(boolean typeNameIntrospectionField, Field field, GraphQLFieldDefinition fieldDefinition, GraphQLOutputType parentType, GraphQLFieldsContainer unmodifiedParentType, QueryVisitorFieldEnvironment parentEnvironment, java.util.Map<java.lang.String,java.lang.Object> arguments, SelectionSetContainer selectionSetContainer, TraverserContext<Node> traverserContext, GraphQLSchema schema)
public GraphQLSchema getSchema()
getSchema
in interface QueryVisitorFieldEnvironment
public Field getField()
getField
in interface QueryVisitorFieldEnvironment
public GraphQLFieldDefinition getFieldDefinition()
getFieldDefinition
in interface QueryVisitorFieldEnvironment
public GraphQLOutputType getParentType()
getParentType
in interface QueryVisitorFieldEnvironment
public QueryVisitorFieldEnvironment getParentEnvironment()
getParentEnvironment
in interface QueryVisitorFieldEnvironment
public java.util.Map<java.lang.String,java.lang.Object> getArguments()
getArguments
in interface QueryVisitorFieldEnvironment
public SelectionSetContainer getSelectionSetContainer()
getSelectionSetContainer
in interface QueryVisitorFieldEnvironment
public GraphQLFieldsContainer getFieldsContainer()
getFieldsContainer
in interface QueryVisitorFieldEnvironment
QueryVisitorFieldEnvironment.getParentType()
It is either GraphQLObjectType
or GraphQLInterfaceType
. because these
are the only GraphQLFieldsContainer
public boolean isTypeNameIntrospectionField()
isTypeNameIntrospectionField
in interface QueryVisitorFieldEnvironment
public TraverserContext<Node> getTraverserContext()
getTraverserContext
in interface QueryVisitorFieldEnvironment
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object