Class GraphqlDirectivesContainerTypeBuilder<B extends GraphqlDirectivesContainerTypeBuilder<B,BASE> , BASE extends GraphqlTypeBuilder<BASE>>
java.lang.Object
graphql.schema.GraphqlTypeBuilder<BASE>
graphql.schema.GraphqlDirectivesContainerTypeBuilder<B,BASE>
- Direct Known Subclasses:
GraphQLArgument.Builder, GraphQLEnumType.Builder, GraphQLEnumValueDefinition.Builder, GraphQLFieldDefinition.Builder, GraphQLInputObjectField.Builder, GraphQLInputObjectType.Builder, GraphQLInterfaceType.Builder, GraphQLObjectType.Builder, GraphQLScalarType.Builder, GraphQLUnionType.Builder
public abstract class GraphqlDirectivesContainerTypeBuilder<B extends GraphqlDirectivesContainerTypeBuilder<B,BASE>, BASE extends GraphqlTypeBuilder<BASE>>
extends GraphqlTypeBuilder<BASE>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<GraphQLAppliedDirective> protected final List<GraphQLDirective> Fields inherited from class GraphqlTypeBuilder
comparatorRegistry, description, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis is used to clear all the directives in the builder so far.protected voidcopyExistingDirectives(GraphQLDirectiveContainer directivesContainer) replaceAppliedDirectives(List<GraphQLAppliedDirective> directives) replaceDirectives(List<GraphQLDirective> directives) Deprecated.withAppliedDirective(GraphQLAppliedDirective directive) withAppliedDirectives(GraphQLAppliedDirective... directives) withDirective(GraphQLDirective directive) Deprecated.- use theGraphQLAppliedDirectivemethods insteadwithDirective(GraphQLDirective.Builder builder) Deprecated.- use theGraphQLAppliedDirectivemethods insteadwithDirectives(GraphQLDirective... directives) Deprecated.- use theGraphQLAppliedDirectivemethods insteadMethods inherited from class GraphqlTypeBuilder
comparatorRegistry, description, getComparator, name, sort, sort
-
Field Details
-
appliedDirectives
-
directives
-
-
Constructor Details
-
GraphqlDirectivesContainerTypeBuilder
public GraphqlDirectivesContainerTypeBuilder()
-
-
Method Details
-
replaceAppliedDirectives
-
withAppliedDirectives
-
withAppliedDirective
-
withAppliedDirective
-
replaceDirectives
Deprecated.- use theGraphQLAppliedDirectivemethods instead- Parameters:
directives- the list of directives- Returns:
- this builder
-
withDirectives
Deprecated.- use theGraphQLAppliedDirectivemethods instead- Parameters:
directives- the variable args of directives- Returns:
- this builder
-
withDirective
Deprecated.- use theGraphQLAppliedDirectivemethods instead- Parameters:
directive- the directive to add- Returns:
- this builder
-
withDirective
Deprecated.- use theGraphQLAppliedDirectivemethods instead- Parameters:
builder- the directive builder- Returns:
- this builder
-
clearDirectives
This is used to clear all the directives in the builder so far.- Returns:
- the builder
-
copyExistingDirectives
-
GraphQLAppliedDirectivemethods instead