public interface DataFetchingEnvironment
DataFetcher
as an execution context parameterModifier and Type | Method and Description |
---|---|
boolean |
containsArgument(java.lang.String name)
Returns true of the named argument is present
|
<T> T |
getArgument(java.lang.String name)
Returns the named argument
|
java.util.Map<java.lang.String,java.lang.Object> |
getArguments() |
<T> T |
getContext()
Returns a context argument that is set up when the
GraphQL.execute(String, Object) method
is invoked |
java.util.List<Field> |
getFields() |
GraphQLOutputType |
getFieldType() |
GraphQLSchema |
getGraphQLSchema() |
GraphQLType |
getParentType() |
<T> T |
getSource() |
<T> T getSource()
T
- you decide what type it isjava.util.Map<java.lang.String,java.lang.Object> getArguments()
boolean containsArgument(java.lang.String name)
name
- the name of the argument<T> T getArgument(java.lang.String name)
T
- you decide what type it isname
- the name of the argument<T> T getContext()
GraphQL.execute(String, Object)
method
is invokedT
- you decide what type it isjava.util.List<Field> getFields()
GraphQLOutputType getFieldType()
GraphQLType getParentType()
GraphQLSchema getGraphQLSchema()