Class GraphqlElementParentTree
java.lang.Object
graphql.schema.GraphqlElementParentTree
This represents a hierarchy an graphql runtime element upwards to its
associated parent elements. For example a GraphqlDirective can be on a GraphqlArgument
which can be on a GraphqlFieldDefinition, which can be on a GraphqlObjectType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GraphQLSchemaElementprivate final GraphqlElementParentTree -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
element
-
parent
-
-
Constructor Details
-
GraphqlElementParentTree
-
-
Method Details
-
getElement
Returns the element represented by this info- Returns:
- the element in play
-
getParentInfo
- Returns:
- an element MAY have an optional parent
-
toList
- Returns:
- the tree as a list of types
-
toString
-