public class DefaultTypeFunction extends java.lang.Object implements TypeFunction
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<TypeFunction> |
otherFunctions |
| Constructor and Description |
|---|
DefaultTypeFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
graphql.schema.GraphQLType |
apply(java.lang.Class<?> klass,
java.lang.reflect.AnnotatedType annotatedType) |
java.util.Collection<java.lang.Class<?>> |
getAcceptedTypes() |
java.lang.Class<DefaultTypeFunction> |
register(TypeFunction function) |
protected java.util.List<TypeFunction> otherFunctions
public java.util.Collection<java.lang.Class<?>> getAcceptedTypes()
getAcceptedTypes in interface TypeFunctionprotected void activate()
public java.lang.Class<DefaultTypeFunction> register(TypeFunction function)
public graphql.schema.GraphQLType apply(java.lang.Class<?> klass,
java.lang.reflect.AnnotatedType annotatedType)
apply in interface java.util.function.BiFunction<java.lang.Class<?>,java.lang.reflect.AnnotatedType,graphql.schema.GraphQLType>