Class GraphQLInterfaceRetriever


  • public class GraphQLInterfaceRetriever
    extends java.lang.Object
    • Constructor Detail

      • GraphQLInterfaceRetriever

        public GraphQLInterfaceRetriever()
    • Method Detail

      • getInterface

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

        public void setGraphQLTypeRetriever​(GraphQLTypeRetriever graphQLTypeRetriever)
      • unsetGraphQLTypeRetriever

        public void unsetGraphQLTypeRetriever​(GraphQLTypeRetriever graphQLOutputObjectRetriever)