Class UnionBuilder
- java.lang.Object
-
- graphql.annotations.processor.typeBuilders.UnionBuilder
-
public class UnionBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UnionBuilder(GraphQLObjectInfoRetriever graphQLObjectInfoRetriever)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.schema.GraphQLUnionType.BuildergetUnionBuilder(java.lang.Class<?> iface, ProcessingElementsContainer container)This will examine the class and return aGraphQLUnionType.Builderready for further definition
-
-
-
Constructor Detail
-
UnionBuilder
public UnionBuilder(GraphQLObjectInfoRetriever graphQLObjectInfoRetriever)
-
-
Method Detail
-
getUnionBuilder
public graphql.schema.GraphQLUnionType.Builder getUnionBuilder(java.lang.Class<?> iface, ProcessingElementsContainer container) throws GraphQLAnnotationsException, java.lang.IllegalArgumentExceptionThis will examine the class and return aGraphQLUnionType.Builderready for further definition- Parameters:
container- a class that hold several members that are required in order to build schemaiface- interface to examine- Returns:
- a
GraphQLUnionType.Builder - Throws:
GraphQLAnnotationsException- if the class cannot be examinedjava.lang.IllegalArgumentException
-
-