Class GraphQLInterfaceRetriever
- java.lang.Object
-
- graphql.annotations.processor.retrievers.GraphQLInterfaceRetriever
-
public class GraphQLInterfaceRetriever extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GraphQLInterfaceRetriever()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.schema.GraphQLOutputTypegetInterface(java.lang.Class<?> iface, ProcessingElementsContainer container)This will examine the class and return aGraphQLOutputTypeready for further definitionvoidsetGraphQLTypeRetriever(GraphQLTypeRetriever graphQLTypeRetriever)voidunsetGraphQLTypeRetriever(GraphQLTypeRetriever graphQLOutputObjectRetriever)
-
-
-
Method Detail
-
getInterface
public graphql.schema.GraphQLOutputType getInterface(java.lang.Class<?> iface, ProcessingElementsContainer container) throws GraphQLAnnotationsExceptionThis will examine the class and return aGraphQLOutputTypeready for further definition- Parameters:
iface- interface to examinecontainer- 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)
-
-