public class ExecutionContext
extends java.lang.Object
Constructor and Description |
---|
ExecutionContext() |
Modifier and Type | Method and Description |
---|---|
void |
addError(GraphQLError error) |
java.util.List<GraphQLError> |
getErrors() |
FragmentDefinition |
getFragment(java.lang.String name) |
java.util.Map<java.lang.String,FragmentDefinition> |
getFragmentsByName() |
GraphQLSchema |
getGraphQLSchema() |
OperationDefinition |
getOperationDefinition() |
java.lang.Object |
getRoot() |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables() |
void |
setFragmentsByName(java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName) |
void |
setGraphQLSchema(GraphQLSchema graphQLSchema) |
void |
setOperationDefinition(OperationDefinition operationDefinition) |
void |
setRoot(java.lang.Object root) |
void |
setVariables(java.util.Map<java.lang.String,java.lang.Object> variables) |
public GraphQLSchema getGraphQLSchema()
public void setGraphQLSchema(GraphQLSchema graphQLSchema)
public java.util.Map<java.lang.String,FragmentDefinition> getFragmentsByName()
public void setFragmentsByName(java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName)
public OperationDefinition getOperationDefinition()
public void setOperationDefinition(OperationDefinition operationDefinition)
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
public void setVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
public java.lang.Object getRoot()
public void setRoot(java.lang.Object root)
public FragmentDefinition getFragment(java.lang.String name)
public void addError(GraphQLError error)
public java.util.List<GraphQLError> getErrors()