public class PageResponseTypeBuilder extends Object implements com.atlassian.graphql.spi.GraphQLTypeBuilder
GraphQLPageResponse
and
http://graphql.org/learn/pagination.Constructor and Description |
---|
PageResponseTypeBuilder(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder) |
Modifier and Type | Method and Description |
---|---|
graphql.schema.GraphQLType |
buildType(String typeName,
Type type,
AnnotatedElement element,
com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) |
boolean |
canBuildType(Type type,
AnnotatedElement element) |
String |
getTypeName(Type type,
AnnotatedElement element,
com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) |
Function<Object,Object> |
getValueTransformer(Type type,
AnnotatedElement element) |
public PageResponseTypeBuilder(com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder)
public String getTypeName(Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
getTypeName
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
public boolean canBuildType(Type type, AnnotatedElement element)
canBuildType
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
public graphql.schema.GraphQLType buildType(String typeName, Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
buildType
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
public Function<Object,Object> getValueTransformer(Type type, AnnotatedElement element)
getValueTransformer
in interface com.atlassian.graphql.spi.GraphQLTypeBuilder
Copyright © 2003–2020 Atlassian. All rights reserved.