Class ContentMetadataTypeBuilder
- java.lang.Object
-
- com.atlassian.graphql.types.DynamicTypeBuilder
-
- com.atlassian.confluence.plugins.graphql.types.ContentMetadataTypeBuilder
-
- All Implemented Interfaces:
com.atlassian.graphql.spi.GraphQLTypeBuilder
public class ContentMetadataTypeBuilder extends com.atlassian.graphql.types.DynamicTypeBuilder
A builder for GraphQLOutputType objects, generated forContent
metadata.- Since:
- 6.12.0
-
-
Constructor Summary
Constructors Constructor Description ContentMetadataTypeBuilder(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.graphql.spi.GraphQLTypeBuilder typeBuilder, com.atlassian.graphql.spi.GraphQLExtensions extensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getTypeName
public String getTypeName(Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
- Specified by:
getTypeName
in interfacecom.atlassian.graphql.spi.GraphQLTypeBuilder
- Overrides:
getTypeName
in classcom.atlassian.graphql.types.DynamicTypeBuilder
-
canBuildType
public boolean canBuildType(Type type, AnnotatedElement element)
- Specified by:
canBuildType
in interfacecom.atlassian.graphql.spi.GraphQLTypeBuilder
- Overrides:
canBuildType
in classcom.atlassian.graphql.types.DynamicTypeBuilder
-
buildType
public graphql.schema.GraphQLType buildType(String typeName, Type type, AnnotatedElement element, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
- Specified by:
buildType
in interfacecom.atlassian.graphql.spi.GraphQLTypeBuilder
- Overrides:
buildType
in classcom.atlassian.graphql.types.DynamicTypeBuilder
-
-