Class UnionBuilder


  • public class UnionBuilder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      graphql.schema.GraphQLUnionType.Builder getUnionBuilder​(java.lang.Class<?> iface, ProcessingElementsContainer container)
      This will examine the class and return a GraphQLUnionType.Builder ready for further definition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUnionBuilder

        public graphql.schema.GraphQLUnionType.Builder getUnionBuilder​(java.lang.Class<?> iface,
                                                                       ProcessingElementsContainer container)
                                                                throws GraphQLAnnotationsException,
                                                                       java.lang.IllegalArgumentException
        This will examine the class and return a GraphQLUnionType.Builder ready for further definition
        Parameters:
        container - a class that hold several members that are required in order to build schema
        iface - interface to examine
        Returns:
        a GraphQLUnionType.Builder
        Throws:
        GraphQLAnnotationsException - if the class cannot be examined
        java.lang.IllegalArgumentException