Package graphql.analysis
Class QueryVisitorFragmentDefinitionEnvironmentImpl
- java.lang.Object
-
- graphql.analysis.QueryVisitorFragmentDefinitionEnvironmentImpl
-
- All Implemented Interfaces:
QueryVisitorFragmentDefinitionEnvironment
public class QueryVisitorFragmentDefinitionEnvironmentImpl extends java.lang.Object implements QueryVisitorFragmentDefinitionEnvironment
-
-
Constructor Summary
Constructors Constructor Description QueryVisitorFragmentDefinitionEnvironmentImpl(FragmentDefinition fragmentDefinition, TraverserContext<Node> traverserContext, GraphQLSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
FragmentDefinition
getFragmentDefinition()
GraphQLSchema
getSchema()
TraverserContext<Node>
getTraverserContext()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
QueryVisitorFragmentDefinitionEnvironmentImpl
public QueryVisitorFragmentDefinitionEnvironmentImpl(FragmentDefinition fragmentDefinition, TraverserContext<Node> traverserContext, GraphQLSchema schema)
-
-
Method Detail
-
getSchema
public GraphQLSchema getSchema()
- Specified by:
getSchema
in interfaceQueryVisitorFragmentDefinitionEnvironment
- Returns:
- the graphql schema in play
-
getFragmentDefinition
public FragmentDefinition getFragmentDefinition()
- Specified by:
getFragmentDefinition
in interfaceQueryVisitorFragmentDefinitionEnvironment
-
getTraverserContext
public TraverserContext<Node> getTraverserContext()
- Specified by:
getTraverserContext
in interfaceQueryVisitorFragmentDefinitionEnvironment
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-