Package graphql.schema
Class DataFetcherFactoryEnvironment
- java.lang.Object
-
- graphql.schema.DataFetcherFactoryEnvironment
-
@PublicApi public class DataFetcherFactoryEnvironment extends java.lang.Object
This is passed to aDataFetcherFactory
when it is invoked to get aDataFetcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataFetcherFactoryEnvironment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLFieldDefinition
getFieldDefinition()
static DataFetcherFactoryEnvironment.Builder
newDataFetchingFactoryEnvironment()
-
-
-
Method Detail
-
getFieldDefinition
public GraphQLFieldDefinition getFieldDefinition()
- Returns:
- the field that needs a
DataFetcher
-
newDataFetchingFactoryEnvironment
public static DataFetcherFactoryEnvironment.Builder newDataFetchingFactoryEnvironment()
-
-