Class SchemaTransformer.DummyRoot
java.lang.Object
graphql.schema.SchemaTransformer.DummyRoot
- All Implemented Interfaces:
GraphQLSchemaElement
- Enclosing class:
SchemaTransformer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String(package private) Set<GraphQLType> (package private) Set<GraphQLDirective> (package private) static final String(package private) static final String(package private) GraphQLObjectType(package private) GraphQLObjectType(package private) static final String(package private) GraphQLObjectType(package private) static final String(package private) GraphQLSchema(package private) static final String(package private) static final String(package private) static final String(package private) Set<GraphQLAppliedDirective> (package private) Set<GraphQLDirective> (package private) GraphQLSchemaElement(package private) GraphQLObjectType(package private) static final String -
Constructor Summary
ConstructorsConstructorDescriptionDummyRoot(GraphQLSchema schema) DummyRoot(GraphQLSchemaElement schemaElement) -
Method Summary
Modifier and TypeMethodDescriptionaccept(TraverserContext<GraphQLSchemaElement> context, GraphQLTypeVisitor visitor) copy()Each GraphQLSchemaElement should make a copy of itself when this is called.rebuildSchema(GraphQLCodeRegistry.Builder codeRegistry) withNewChildren(SchemaElementChildrenContainer newChildren) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GraphQLSchemaElement
equals, hashCode
-
Field Details
-
QUERY
- See Also:
-
MUTATION
- See Also:
-
SUBSCRIPTION
- See Also:
-
ADD_TYPES
- See Also:
-
DIRECTIVES
- See Also:
-
SCHEMA_DIRECTIVES
- See Also:
-
SCHEMA_APPLIED_DIRECTIVES
- See Also:
-
INTROSPECTION
- See Also:
-
SCHEMA_ELEMENT
- See Also:
-
schema
GraphQLSchema schema -
query
GraphQLObjectType query -
mutation
GraphQLObjectType mutation -
subscription
GraphQLObjectType subscription -
introspectionSchemaType
GraphQLObjectType introspectionSchemaType -
additionalTypes
Set<GraphQLType> additionalTypes -
directives
Set<GraphQLDirective> directives -
schemaDirectives
Set<GraphQLDirective> schemaDirectives -
schemaAppliedDirectives
Set<GraphQLAppliedDirective> schemaAppliedDirectives -
schemaElement
GraphQLSchemaElement schemaElement
-
-
Constructor Details
-
DummyRoot
DummyRoot(GraphQLSchema schema) -
DummyRoot
DummyRoot(GraphQLSchemaElement schemaElement)
-
-
Method Details
-
copy
Description copied from interface:GraphQLSchemaElementEach GraphQLSchemaElement should make a copy of itself when this is called. The copy should be included its current contents as they currently exist into a new object.- Specified by:
copyin interfaceGraphQLSchemaElement- Returns:
- a copy of this element
-
getChildren
- Specified by:
getChildrenin interfaceGraphQLSchemaElement
-
getChildrenWithTypeReferences
- Specified by:
getChildrenWithTypeReferencesin interfaceGraphQLSchemaElement
-
withNewChildren
- Specified by:
withNewChildrenin interfaceGraphQLSchemaElement
-
accept
public TraversalControl accept(TraverserContext<GraphQLSchemaElement> context, GraphQLTypeVisitor visitor) - Specified by:
acceptin interfaceGraphQLSchemaElement
-
rebuildSchema
-