Uses of Class
graphql.schema.GraphQLEnumType
-
-
Uses of GraphQLEnumType in graphql.analysis.values
Methods in graphql.analysis.values with parameters of type GraphQLEnumType Modifier and Type Method Description default @Nullable java.lang.Object
ValueVisitor. visitEnumValue(@Nullable java.lang.Object coercedValue, GraphQLEnumType inputType, ValueVisitor.InputElements inputElements)
This is called when an enum value is encountered -
Uses of GraphQLEnumType in graphql.execution
Methods in graphql.execution with parameters of type GraphQLEnumType Modifier and Type Method Description protected java.util.concurrent.CompletableFuture<ExecutionResult>
ExecutionStrategy. completeValueForEnum(ExecutionContext executionContext, ExecutionStrategyParameters parameters, GraphQLEnumType enumType, java.lang.Object result)
Called to turn an object into a enum value according to theGraphQLEnumType
by asking that enum type to coerce the object into a valid valueprivate static java.lang.Object
ValuesResolverConversion. externalValueToInternalValueForEnum(GraphQLEnumType graphQLEnumType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
including validationprivate static Value<?>
ValuesResolverConversion. externalValueToLiteralForEnum(GraphQLEnumType enumType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
No validation -
Uses of GraphQLEnumType in graphql.introspection
Fields in graphql.introspection declared as GraphQLEnumType Modifier and Type Field Description static GraphQLEnumType
Introspection. __DirectiveLocation
static GraphQLEnumType
Introspection. __TypeKind
-
Uses of GraphQLEnumType in graphql.schema
Methods in graphql.schema that return GraphQLEnumType Modifier and Type Method Description GraphQLEnumType
GraphQLEnumType.Builder. build()
GraphQLEnumType
GraphQLEnumType. transform(java.util.function.Consumer<GraphQLEnumType.Builder> builderConsumer)
This helps you transform the current GraphQLEnumType into another one by starting a builder with all the current values and allows you to transform it how you want.GraphQLEnumType
GraphQLEnumType. withNewChildren(SchemaElementChildrenContainer newChildren)
Methods in graphql.schema with parameters of type GraphQLEnumType Modifier and Type Method Description static GraphQLEnumType.Builder
GraphQLEnumType. newEnum(GraphQLEnumType existing)
TraversalControl
GraphQLTypeVisitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
GraphQLTypeVisitorStub. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
Constructors in graphql.schema with parameters of type GraphQLEnumType Constructor Description Builder(GraphQLEnumType existing)
-
Uses of GraphQLEnumType in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLEnumType Modifier and Type Method Description private void
SchemaGraphFactory. newEnum(GraphQLEnumType enumType, SchemaGraph schemaGraph, boolean isIntrospectionNode)
-
Uses of GraphQLEnumType in graphql.schema.idl
Methods in graphql.schema.idl that return GraphQLEnumType Modifier and Type Method Description (package private) GraphQLEnumType
SchemaGeneratorHelper. buildEnumType(SchemaGeneratorHelper.BuildContext buildCtx, EnumTypeDefinition typeDefinition)
default GraphQLEnumType
SchemaDirectiveWiring. onEnum(SchemaDirectiveWiringEnvironment<GraphQLEnumType> environment)
This is called when an enum is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL elementGraphQLEnumType
SchemaGeneratorDirectiveHelper. onEnum(GraphQLEnumType enumType, SchemaGeneratorDirectiveHelper.Parameters params)
Methods in graphql.schema.idl that return types with arguments of type GraphQLEnumType Modifier and Type Method Description private SchemaPrinter.SchemaElementPrinter<GraphQLEnumType>
SchemaPrinter. enumPrinter()
Methods in graphql.schema.idl with parameters of type GraphQLEnumType Modifier and Type Method Description GraphQLEnumType
SchemaGeneratorDirectiveHelper. onEnum(GraphQLEnumType enumType, SchemaGeneratorDirectiveHelper.Parameters params)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
Method parameters in graphql.schema.idl with type arguments of type GraphQLEnumType Modifier and Type Method Description default GraphQLEnumType
SchemaDirectiveWiring. onEnum(SchemaDirectiveWiringEnvironment<GraphQLEnumType> environment)
This is called when an enum is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element -
Uses of GraphQLEnumType in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLEnumType Modifier and Type Method Description TraversalControl
GraphQLTypeCollectingVisitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
MultiReadOnlyGraphQLTypeVisitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLEnumType in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLEnumType Modifier and Type Method Description private void
TypeAndFieldRule. validateEnum(GraphQLEnumType type, SchemaValidationErrorCollector errorCollector)
TraversalControl
TypeAndFieldRule. visitGraphQLEnumType(GraphQLEnumType type, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLEnumType in graphql.schema.visitor
Methods in graphql.schema.visitor that return GraphQLEnumType Modifier and Type Method Description GraphQLEnumType
GraphQLSchemaVisitor.EnumValueDefinitionVisitorEnvironment. getContainer()
GraphQLEnumType
GraphQLSchemaVisitorAdapter.EnumValueDefinitionEnv. getContainer()
Methods in graphql.schema.visitor with parameters of type GraphQLEnumType Modifier and Type Method Description default GraphQLSchemaTraversalControl
GraphQLSchemaVisitor. visitEnumType(GraphQLEnumType enumType, GraphQLSchemaVisitor.EnumTypeVisitorEnvironment environment)
Called when visiting aGraphQLEnumType
in the schemaTraversalControl
GraphQLSchemaVisitorAdapter. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLEnumType in graphql.validation
Methods in graphql.validation with parameters of type GraphQLEnumType Modifier and Type Method Description protected void
ArgumentValidationUtil. handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid)
protected void
ValidationUtil. handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid)
private java.util.Optional<GraphQLError>
ValidationUtil. parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, java.util.Locale locale)
-