public abstract class GraphqlDirectivesContainerTypeBuilder<B extends GraphqlDirectivesContainerTypeBuilder<B,BASE>,BASE extends GraphqlTypeBuilder<BASE>> extends GraphqlTypeBuilder<BASE>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<GraphQLAppliedDirective> |
appliedDirectives |
protected java.util.List<GraphQLDirective> |
directives |
comparatorRegistry, description, name
Constructor and Description |
---|
GraphqlDirectivesContainerTypeBuilder() |
Modifier and Type | Method and Description |
---|---|
B |
clearDirectives()
This is used to clear all the directives in the builder so far.
|
protected void |
copyExistingDirectives(GraphQLDirectiveContainer directivesContainer) |
B |
replaceAppliedDirectives(java.util.List<GraphQLAppliedDirective> directives) |
B |
replaceDirectives(java.util.List<GraphQLDirective> directives)
Deprecated.
- use the
GraphQLAppliedDirective methods instead |
B |
withAppliedDirective(GraphQLAppliedDirective.Builder builder) |
B |
withAppliedDirective(GraphQLAppliedDirective directive) |
B |
withAppliedDirectives(GraphQLAppliedDirective... directives) |
B |
withDirective(GraphQLDirective.Builder builder)
Deprecated.
- use the
GraphQLAppliedDirective methods instead |
B |
withDirective(GraphQLDirective directive)
Deprecated.
- use the
GraphQLAppliedDirective methods instead |
B |
withDirectives(GraphQLDirective... directives)
Deprecated.
- use the
GraphQLAppliedDirective methods instead |
comparatorRegistry, description, name
protected final java.util.List<GraphQLAppliedDirective> appliedDirectives
protected final java.util.List<GraphQLDirective> directives
public GraphqlDirectivesContainerTypeBuilder()
public B replaceAppliedDirectives(java.util.List<GraphQLAppliedDirective> directives)
public B withAppliedDirectives(GraphQLAppliedDirective... directives)
public B withAppliedDirective(GraphQLAppliedDirective directive)
public B withAppliedDirective(GraphQLAppliedDirective.Builder builder)
@Deprecated public B replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLAppliedDirective
methods instead@Deprecated public B withDirectives(GraphQLDirective... directives)
GraphQLAppliedDirective
methods instead@Deprecated public B withDirective(GraphQLDirective directive)
GraphQLAppliedDirective
methods instead@Deprecated public B withDirective(GraphQLDirective.Builder builder)
GraphQLAppliedDirective
methods insteadpublic B clearDirectives()
protected void copyExistingDirectives(GraphQLDirectiveContainer directivesContainer)