Class GraphQLOutputProcessor


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

      • GraphQLOutputProcessor

        public GraphQLOutputProcessor()
    • Method Detail

      • getOutputTypeOrRef

        public graphql.schema.GraphQLOutputType getOutputTypeOrRef​(java.lang.Class<?> object,
                                                                   ProcessingElementsContainer container)
                                                            throws GraphQLAnnotationsException
        This will examine the object class and return a GraphQLOutputType representation which may be a GraphQLOutputType or a GraphQLTypeReference
        Parameters:
        object - the object class to examine
        container - a class that hold several members that are required in order to build schema
        Returns:
        a GraphQLOutputType that represents that object class
        Throws:
        GraphQLAnnotationsException - if the object class cannot be examined
      • setGraphQLTypeRetriever

        public void setGraphQLTypeRetriever​(GraphQLTypeRetriever graphQLTypeRetriever)
      • unsetGraphQLTypeRetriever

        public void unsetGraphQLTypeRetriever​(GraphQLTypeRetriever graphQLTypeRetriever)