Uses of Class
graphql.schema.GraphQLEnumType
Packages that use GraphQLEnumType
Package
Description
-
Uses of GraphQLEnumType in graphql.analysis.values
Methods in graphql.analysis.values with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptiondefault @Nullable Object
ValueVisitor.visitEnumValue
(@Nullable 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 GraphQLEnumTypeModifier and TypeMethodDescriptionprotected CompletableFuture
<ExecutionResult> ExecutionStrategy.completeValueForEnum
(ExecutionContext executionContext, ExecutionStrategyParameters parameters, GraphQLEnumType enumType, 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 Object
ValuesResolverConversion.externalValueToInternalValueForEnum
(GraphQLEnumType graphQLEnumType, Object value, GraphQLContext graphqlContext, Locale locale) including validationprivate static Value
<?> ValuesResolverConversion.externalValueToLiteralForEnum
(GraphQLEnumType enumType, Object value, GraphQLContext graphqlContext, Locale locale) No validation -
Uses of GraphQLEnumType in graphql.introspection
Fields in graphql.introspection declared as GraphQLEnumTypeModifier and TypeFieldDescriptionstatic final GraphQLEnumType
Introspection.__DirectiveLocation
static final GraphQLEnumType
Introspection.__TypeKind
-
Uses of GraphQLEnumType in graphql.schema
Methods in graphql.schema that return GraphQLEnumTypeModifier and TypeMethodDescriptionGraphQLEnumType.Builder.build()
GraphQLEnumType.transform
(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.withNewChildren
(SchemaElementChildrenContainer newChildren) Methods in graphql.schema with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptionstatic GraphQLEnumType.Builder
GraphQLEnumType.newEnum
(GraphQLEnumType existing) GraphQLTypeVisitor.visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) GraphQLTypeVisitorStub.visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) Constructors in graphql.schema with parameters of type GraphQLEnumType -
Uses of GraphQLEnumType in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptionprivate void
SchemaGraphFactory.newEnum
(GraphQLEnumType enumType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
Uses of GraphQLEnumType in graphql.schema.idl
Methods in graphql.schema.idl that return GraphQLEnumTypeModifier and TypeMethodDescription(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 elementSchemaGeneratorDirectiveHelper.onEnum
(GraphQLEnumType enumType, SchemaGeneratorDirectiveHelper.Parameters params) Methods in graphql.schema.idl that return types with arguments of type GraphQLEnumTypeMethods in graphql.schema.idl with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptionSchemaGeneratorDirectiveHelper.onEnum
(GraphQLEnumType enumType, SchemaGeneratorDirectiveHelper.Parameters params) SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor.visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) Method parameters in graphql.schema.idl with type arguments of type GraphQLEnumTypeModifier and TypeMethodDescriptiondefault 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 GraphQLEnumTypeModifier and TypeMethodDescriptionGraphQLTypeCollectingVisitor.visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) MultiReadOnlyGraphQLTypeVisitor.visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLEnumType in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptionprivate void
TypeAndFieldRule.validateEnum
(GraphQLEnumType type, SchemaValidationErrorCollector errorCollector) TypeAndFieldRule.visitGraphQLEnumType
(GraphQLEnumType type, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLEnumType in graphql.schema.visitor
Methods in graphql.schema.visitor that return GraphQLEnumTypeModifier and TypeMethodDescriptionGraphQLSchemaVisitor.EnumValueDefinitionVisitorEnvironment.getContainer()
GraphQLSchemaVisitorAdapter.EnumValueDefinitionEnv.getContainer()
Methods in graphql.schema.visitor with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptiondefault GraphQLSchemaTraversalControl
GraphQLSchemaVisitor.visitEnumType
(GraphQLEnumType enumType, GraphQLSchemaVisitor.EnumTypeVisitorEnvironment environment) Called when visiting aGraphQLEnumType
in the schemaGraphQLSchemaVisitorAdapter.visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLEnumType in graphql.validation
Methods in graphql.validation with parameters of type GraphQLEnumTypeModifier and TypeMethodDescriptionprotected void
ArgumentValidationUtil.handleEnumError
(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected void
ValidationUtil.handleEnumError
(Value<?> value, GraphQLEnumType type, GraphQLError invalid) private Optional
<GraphQLError> ValidationUtil.parseLiteralEnum
(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, Locale locale)