Package | Description |
---|---|
graphql.schema | |
graphql.schema.idl |
Modifier and Type | Method and Description |
---|---|
GraphQLEnumValueDefinition |
GraphQLEnumValueDefinition.Builder.build() |
GraphQLEnumValueDefinition |
GraphQLEnumType.getValue(String name) |
GraphQLEnumValueDefinition |
GraphQLEnumValueDefinition.transform(Consumer<GraphQLEnumValueDefinition.Builder> builderConsumer)
This helps you transform the current GraphQLEnumValueDefinition into another one by starting a builder with all
the current values and allows you to transform it how you want.
|
Modifier and Type | Method and Description |
---|---|
List<GraphQLEnumValueDefinition> |
GraphQLEnumType.getValues() |
Modifier and Type | Method and Description |
---|---|
static GraphQLEnumValueDefinition.Builder |
GraphQLEnumValueDefinition.newEnumValueDefinition(GraphQLEnumValueDefinition existing) |
GraphQLEnumType.Builder |
GraphQLEnumType.Builder.value(GraphQLEnumValueDefinition enumValueDefinition) |
TraversalControl |
GraphQLTypeVisitorStub.visitGraphQLEnumValueDefinition(GraphQLEnumValueDefinition node,
TraverserContext<GraphQLType> context) |
TraversalControl |
GraphQLTypeVisitor.visitGraphQLEnumValueDefinition(GraphQLEnumValueDefinition node,
TraverserContext<GraphQLType> context) |
Modifier and Type | Method and Description |
---|---|
GraphQLEnumType.Builder |
GraphQLEnumType.Builder.values(List<GraphQLEnumValueDefinition> valueDefinitions) |
Constructor and Description |
---|
Builder(GraphQLEnumValueDefinition existing) |
Constructor and Description |
---|
GraphQLEnumType(String name,
String description,
List<GraphQLEnumValueDefinition> values)
Deprecated.
use the
GraphQLEnumType.newEnum() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLEnumType(String name,
String description,
List<GraphQLEnumValueDefinition> values,
List<GraphQLDirective> directives,
EnumTypeDefinition definition)
Deprecated.
use the
GraphQLEnumType.newEnum() builder pattern instead, as this constructor will be made private in a future version. |
Modifier and Type | Method and Description |
---|---|
default GraphQLEnumValueDefinition |
SchemaDirectiveWiring.onEnumValue(SchemaDirectiveWiringEnvironment<GraphQLEnumValueDefinition> environment)
This is called when an enum value is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
Modifier and Type | Method and Description |
---|---|
default GraphQLEnumValueDefinition |
SchemaDirectiveWiring.onEnumValue(SchemaDirectiveWiringEnvironment<GraphQLEnumValueDefinition> environment)
This is called when an enum value is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
Copyright © 2019. All rights reserved.