Context.OperationType, Context.VariablesParserOPERATION_NAME, QUERY, VARIABLES| Modifier and Type | Method and Description |
|---|---|
<T> T |
getArgument(String name) |
Map<String,Object> |
getArguments() |
static Context |
getContext() |
String |
getExecutionId() |
String |
getFieldName() |
Context.OperationType |
getOperationType() |
Optional<String> |
getParentTypeName() |
String |
getPath() |
javax.json.JsonObject |
getRequest() |
List<Context.OperationType> |
getRequestedOperationTypes() |
javax.json.JsonArray |
getSelectedFields(boolean includeSourceFields) |
<T> T |
getSource() |
boolean |
hasArgument(String name) |
static void |
register(javax.json.JsonObject jsonInput) |
static void |
remove() |
static void |
setDataFromExecution(graphql.ExecutionInput executionInput) |
static void |
setDataFromFetcher(graphql.schema.DataFetchingEnvironment dfe,
Field field) |
static void |
setSchema(Schema schema) |
String |
toString() |
<T> T |
unwrap(Class<T> wrappedType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArgumentOrDefault, getOperationName, getQuery, getSelectedFields, getVariables, hasOperationName, hasSource, hasVariablespublic static void register(javax.json.JsonObject jsonInput)
public static void setSchema(Schema schema)
public static Context getContext()
public static void setDataFromExecution(graphql.ExecutionInput executionInput)
public static void setDataFromFetcher(graphql.schema.DataFetchingEnvironment dfe,
Field field)
public static void remove()
public javax.json.JsonObject getRequest()
getRequest in interface Contextpublic boolean hasArgument(String name)
hasArgument in interface Contextpublic <T> T getArgument(String name)
getArgument in interface Contextpublic Map<String,Object> getArguments()
getArguments in interface Contextpublic String getExecutionId()
getExecutionId in interface Contextpublic String getFieldName()
getFieldName in interface Contextpublic javax.json.JsonArray getSelectedFields(boolean includeSourceFields)
getSelectedFields in interface Contextpublic Context.OperationType getOperationType()
getOperationType in interface Contextpublic List<Context.OperationType> getRequestedOperationTypes()
getRequestedOperationTypes in interface Contextpublic Optional<String> getParentTypeName()
getParentTypeName in interface ContextCopyright © 2018–2020. All rights reserved.