public class GraphqlTypeBuilderWrapper extends Object
| Constructor and Description |
|---|
GraphqlTypeBuilderWrapper(graphql.schema.GraphqlTypeBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLType |
build() |
void |
description(String description) |
void |
field(graphql.schema.GraphQLFieldDefinition fields) |
graphql.schema.GraphqlTypeBuilder |
getBuilder() |
String |
getName() |
boolean |
hasField(String name) |
boolean |
isInterface() |
void |
name(String name) |
void |
withInterface(graphql.schema.GraphQLTypeReference typeRef) |
public GraphqlTypeBuilderWrapper(graphql.schema.GraphqlTypeBuilder builder)
public void description(String description)
public void name(String name)
public void field(graphql.schema.GraphQLFieldDefinition fields)
public boolean hasField(String name)
public graphql.schema.GraphqlTypeBuilder getBuilder()
public void withInterface(graphql.schema.GraphQLTypeReference typeRef)
public graphql.schema.GraphQLType build()
public boolean isInterface()
public String getName()
Copyright © 2016–2019. All rights reserved.