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.ObjectValueVisitor. 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 theGraphQLEnumTypeby asking that enum type to coerce the object into a valid valueprivate static java.lang.ObjectValuesResolverConversion. 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 GraphQLEnumTypeIntrospection. __DirectiveLocationstatic GraphQLEnumTypeIntrospection. __TypeKind -
Uses of GraphQLEnumType in graphql.schema
Methods in graphql.schema that return GraphQLEnumType Modifier and Type Method Description GraphQLEnumTypeGraphQLEnumType.Builder. build()GraphQLEnumTypeGraphQLEnumType. 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.GraphQLEnumTypeGraphQLEnumType. withNewChildren(SchemaElementChildrenContainer newChildren)Methods in graphql.schema with parameters of type GraphQLEnumType Modifier and Type Method Description static GraphQLEnumType.BuilderGraphQLEnumType. newEnum(GraphQLEnumType existing)TraversalControlGraphQLTypeVisitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)TraversalControlGraphQLTypeVisitorStub. 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 voidSchemaGraphFactory. 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) GraphQLEnumTypeSchemaGeneratorHelper. buildEnumType(SchemaGeneratorHelper.BuildContext buildCtx, EnumTypeDefinition typeDefinition)default GraphQLEnumTypeSchemaDirectiveWiring. 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 elementGraphQLEnumTypeSchemaGeneratorDirectiveHelper. 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 GraphQLEnumTypeSchemaGeneratorDirectiveHelper. onEnum(GraphQLEnumType enumType, SchemaGeneratorDirectiveHelper.Parameters params)TraversalControlSchemaDirectiveWiringSchemaGeneratorPostProcessing.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 GraphQLEnumTypeSchemaDirectiveWiring. 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 TraversalControlGraphQLTypeCollectingVisitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)TraversalControlMultiReadOnlyGraphQLTypeVisitor. 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 voidTypeAndFieldRule. validateEnum(GraphQLEnumType type, SchemaValidationErrorCollector errorCollector)TraversalControlTypeAndFieldRule. 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 GraphQLEnumTypeGraphQLSchemaVisitor.EnumValueDefinitionVisitorEnvironment. getContainer()GraphQLEnumTypeGraphQLSchemaVisitorAdapter.EnumValueDefinitionEnv. getContainer()Methods in graphql.schema.visitor with parameters of type GraphQLEnumType Modifier and Type Method Description default GraphQLSchemaTraversalControlGraphQLSchemaVisitor. visitEnumType(GraphQLEnumType enumType, GraphQLSchemaVisitor.EnumTypeVisitorEnvironment environment)Called when visiting aGraphQLEnumTypein the schemaTraversalControlGraphQLSchemaVisitorAdapter. 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 voidArgumentValidationUtil. handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid)protected voidValidationUtil. handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid)private java.util.Optional<GraphQLError>ValidationUtil. parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, java.util.Locale locale)
-