Package graphql.execution
Class TypeResolutionParameters
- java.lang.Object
-
- graphql.execution.TypeResolutionParameters
-
public class TypeResolutionParameters extends java.lang.Object
This class is a classic builder style one that SHOULD have been on have been onTypeResolutionEnvironment
but for legacy reasons was not. So it acts as the builder ofTypeResolutionEnvironment
objects
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TypeResolutionParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getArgumentValues()
java.lang.Object
getContext()
Deprecated.usegetGraphQLContext()
insteadMergedField
getField()
GraphQLType
getFieldType()
GraphQLContext
getGraphQLContext()
java.lang.Object
getLocalContext()
GraphQLSchema
getSchema()
DataFetchingFieldSelectionSet
getSelectionSet()
java.lang.Object
getValue()
static TypeResolutionParameters.Builder
newParameters()
-
-
-
Method Detail
-
getField
public MergedField getField()
-
getFieldType
public GraphQLType getFieldType()
-
getValue
public java.lang.Object getValue()
-
getArgumentValues
public java.util.Map<java.lang.String,java.lang.Object> getArgumentValues()
-
getSchema
public GraphQLSchema getSchema()
-
getSelectionSet
public DataFetchingFieldSelectionSet getSelectionSet()
-
newParameters
public static TypeResolutionParameters.Builder newParameters()
-
getContext
@Deprecated(since="2021-07-05") public java.lang.Object getContext()
Deprecated.usegetGraphQLContext()
instead- Returns:
- the legacy context object
-
getGraphQLContext
public GraphQLContext getGraphQLContext()
-
getLocalContext
public java.lang.Object getLocalContext()
-
-