Class GraphQLOutputProcessor
- java.lang.Object
-
- graphql.annotations.processor.graphQLProcessors.GraphQLOutputProcessor
-
public class GraphQLOutputProcessor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GraphQLOutputProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.schema.GraphQLOutputTypegetOutputTypeOrRef(java.lang.Class<?> object, ProcessingElementsContainer container)This will examine the object class and return aGraphQLOutputTyperepresentation which may be aGraphQLOutputTypeor aGraphQLTypeReferencevoidsetGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever)voidunsetGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever)
-
-
-
Method Detail
-
getOutputTypeOrRef
public graphql.schema.GraphQLOutputType getOutputTypeOrRef(java.lang.Class<?> object, ProcessingElementsContainer container) throws GraphQLAnnotationsExceptionThis will examine the object class and return aGraphQLOutputTyperepresentation which may be aGraphQLOutputTypeor aGraphQLTypeReference- Parameters:
object- the object class to examinecontainer- a class that hold several members that are required in order to build schema- Returns:
- a
GraphQLOutputTypethat 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)
-
-