public class GraphQLOutputProcessor
extends java.lang.Object
| Constructor and Description |
|---|
GraphQLOutputProcessor() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLOutputType |
getOutputTypeOrRef(java.lang.Class<?> object,
ProcessingElementsContainer container)
This will examine the object class and return a
GraphQLOutputType representation
which may be a GraphQLOutputType or a GraphQLTypeReference |
void |
setGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever) |
void |
unsetGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever) |
public graphql.schema.GraphQLOutputType getOutputTypeOrRef(java.lang.Class<?> object,
ProcessingElementsContainer container)
throws GraphQLAnnotationsException
GraphQLOutputType representation
which may be a GraphQLOutputType or a GraphQLTypeReferenceobject - the object class to examinecontainer - a class that hold several members that are required in order to build schemaGraphQLOutputType that represents that object classGraphQLAnnotationsException - if the object class cannot be examinedpublic void setGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever)
public void unsetGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever)