Package org.craftercms.engine.graphql
Interface GraphQLFactory
-
- All Known Implementing Classes:
GraphQLFactoryImpl
public interface GraphQLFactory
Creates aGraphQLSchema
and returns aGraphQL
instance for a specific site.- Since:
- 3.1
- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description graphql.GraphQL
getInstance(SiteContext siteContext)
Returns the instance for the givenSiteContext
-
-
-
Method Detail
-
getInstance
graphql.GraphQL getInstance(SiteContext siteContext)
Returns the instance for the givenSiteContext
- Parameters:
siteContext
- the site context used to build theGraphQLSchema
- Returns:
- a
GraphQL
instance
-
-