Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add$(GraphQLResponseField) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
- addModelValidationAnnotationForType(String) - Method in class io.github.besi97.graphql.codegen.java.JavaAnnotationsMapper
- addModelValidationAnnotationForType(String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinAnnotationsMapper
- addModelValidationAnnotationForType(String) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
-
Whether to add model validation annotation to a type
- addRequest(GraphQLRequest) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequests
- alias(String) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- ANNOTATIONS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- AnnotationsMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Mapper for annotations
- AnnotationsMapper() - Constructor for class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
- API_RETURN_NAME_PLACEHOLDER - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- ApiInterfaceStrategy - Enum Class in io.github.besi97.graphql.codegen.model
-
Strategy for creating API interface calsses
- ApiNamePrefixStrategy - Enum Class in io.github.besi97.graphql.codegen.model
-
Strategy of defining the prefix for all generated API interface classes
- ApiRootInterfaceStrategy - Enum Class in io.github.besi97.graphql.codegen.model
-
Strategy of how root API interface (Query/Mutation/Subscription) will be generated
B
- build() - Method in class io.github.besi97.graphql.codegen.model.MappingContext.Builder
- build(ExtendedDefinition<T, E>) - Static method in class io.github.besi97.graphql.codegen.model.builders.JavaDocBuilder
-
Get java doc from description of the definition and it's extensions.
- build(GeneratedLanguage, Directive) - Static method in class io.github.besi97.graphql.codegen.model.builders.DeprecatedDefinitionBuilder
-
Get a definition of @deprecated annotation for a specified language.
- build(MappingContext, DirectivesContainer<?>) - Static method in class io.github.besi97.graphql.codegen.model.builders.DeprecatedDefinitionBuilder
-
Get a definition of @deprecated based on a given directive
- builder() - Static method in class io.github.besi97.graphql.codegen.model.MappingContext
- BUILDER - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- buildFromComments(ExtendedDefinition<T, E>) - Static method in class io.github.besi97.graphql.codegen.model.builders.JavaDocBuilder
-
Get java doc from comments for the given definition
- buildFromDescription(ExtendedDefinition<T, E>) - Static method in class io.github.besi97.graphql.codegen.model.builders.JavaDocBuilder
-
Get java doc from description for the given definition
C
- camelCaseString(String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Make a string as CamelCase
- capitalize(String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Capitalize a string.
- capitalizeIfRestricted(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.java.JavaDataModelMapper
- capitalizeIfRestricted(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinDataModelMapper
- capitalizeIfRestricted(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapper
-
Capitalize field name if it is language-restricted.
- capitalizeMethodNameIfRestricted(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.java.JavaDataModelMapper
- capitalizeMethodNameIfRestricted(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinDataModelMapper
- capitalizeMethodNameIfRestricted(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapper
-
Capitalize method name if it is language-restricted.
- CLASS_NAME - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- Combinable<T> - Interface in io.github.besi97.graphql.codegen.model
-
The interface Combinable.
- combine(MappingConfig) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- combine(T) - Method in interface io.github.besi97.graphql.codegen.model.Combinable
-
Combine with source.
- CONSTANT - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiNamePrefixStrategy
-
Will take only the value of apiNamePrefix config option.
- create(MappingContext, FreeMarkerTemplateType, Map<String, Object>) - Static method in class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateFilesCreator
-
Crates a new file according to template
- createDirIfAbsent(File) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Create directory if it is absent.
- createMultiSourceReader(List<String>) - Static method in class io.github.besi97.graphql.codegen.parser.GraphQLDocumentParser
- createUnknownFields(MappingContext) - Method in interface io.github.besi97.graphql.codegen.mapper.UnknownFieldsSupport
-
Creates an instance of
ParameterDefinitionthat can be used to generate a field of typeMapto store unknown fields during the marshaling and unmarshalling of a JSON document
D
- DATA_FETCHING_ENVIRONMENT - Static variable in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- DataFetchingException - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
- DataModelFields - Class in io.github.besi97.graphql.codegen.model
-
Freemarker data model field names
- DataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Generic mapper for all languages
- DataModelMapper() - Constructor for class io.github.besi97.graphql.codegen.mapper.DataModelMapper
- DataModelMapperFactory - Class in io.github.besi97.graphql.codegen.mapper
-
Factory of data model mappers
- DataModelMapperFactory(MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
-
Constructor for creating a new DataModelMapperFactory based on a MapperFactory
- DATE_TIME_FORMAT - Static variable in class io.github.besi97.graphql.codegen.model.GeneratedInformation
- deepCopy() - Method in interface io.github.besi97.graphql.codegen.model.graphql.GraphQLParametrizedInput
- deepCopy() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
-
Returns a clone of the instance, having a deep copy of the parameters and projection.
- deepCopy$() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
- DEFAULT_ADD_GENERATED_ANNOTATION - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_ADD_GENERATED_ANNOTATION_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_API_INTERFACE_STRATEGY - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_API_INTERFACE_STRATEGY_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_API_NAME_PREFIX_STRATEGY - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_API_NAME_PREFIX_STRATEGY_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_API_ROOT_INTERFACE_STRATEGY - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_API_ROOT_INTERFACE_STRATEGY_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_BUILDER - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_BUILDER_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_EQUALS_AND_HASHCODE - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_EQUALS_AND_HASHCODE_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_ALL_METHOD - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_ALL_METHOD_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_APIS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_APIS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_APIS_WITH_SUSPEND_FUNCTIONS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_APIS_WITH_SUSPEND_FUNCTIONS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_APIS_WITH_THROWS_EXCEPTION - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_APIS_WITH_THROWS_EXCEPTION_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_CLIENT - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_CLIENT_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_DATA_FETCHING_ENV - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_DATA_FETCHING_ENV_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_EXTENSION_FIELDS_RESOLVERS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_EXTENSION_FIELDS_RESOLVERS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_IMMUTABLE_MODELS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_IMMUTABLE_MODELS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_JACKSON_TYPE_ID_RESOLVER - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_JACKSON_TYPE_ID_RESOLVER_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_MODEL_OPEN_CLASSES - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_MODEL_OPEN_CLASSES_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_MODELS_FOR_ROOT_TYPES - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_MODELS_FOR_ROOT_TYPES_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_MODELS_WITH_PUBLIC_FIELDS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_MODELS_WITH_PUBLIC_FIELDS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_NOARGS_CONSTRUCTOR_ONLY - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_NOARGS_CONSTRUCTOR_ONLY_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_PARAMETERIZED_FIELDS_RESOLVERS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_PARAMETERIZED_FIELDS_RESOLVERS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_SEALED_INTERFACES - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATE_SEALED_INTERFACES_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATED_LANGUAGE - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_GENERATED_LANGUAGE_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_INCLUDE_PATTERN - Static variable in class io.github.besi97.graphql.codegen.supplier.SchemaFinder
- DEFAULT_INITIALIZE_NULLABLE_TYPES - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_INITIALIZE_NULLABLE_TYPES_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_PARAMETRIZED_INPUT_SUFFIX - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_RECURSIVE - Static variable in class io.github.besi97.graphql.codegen.supplier.SchemaFinder
- DEFAULT_REQUEST_SUFFIX - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_RESOLVER_SUFFIX - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_RESPONSE_PROJECTION_MAX_DEPTH - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_RESPONSE_PROJECTION_MAX_DEPTH_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_RESPONSE_PROJECTION_SUFFIX - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_RESPONSE_SUFFIX - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_SERIALIZATION_LIBRARY - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_SKIP_SCHEMA_SIZE_LIMIT - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_SKIP_SCHEMA_SIZE_LIMIT_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_SUPPORT_UNKNOWN_FIELDS - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_SUPPORT_UNKNOWN_FIELDS_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_TO_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_TO_STRING_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_UNKNOWN_FIELDS_PROPERTY_NAME - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_USE_OPTIONAL_FOR_NULLABLE_RETURN_TYPES - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_USE_OPTIONAL_FOR_NULLABLE_RETURN_TYPES_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_USE_WRAPPER_FOR_NULLABLE_INPUT_TYPES - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_USE_WRAPPER_FOR_NULLABLE_INPUT_TYPES_STRING - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- DEFAULT_VALIDATION_ANNOTATION - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- defaultValueKotlinPrimitive(String) - Static method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
-
This method is used in kotlin template, do not remove it.
- definition - Variable in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
-
Nullable because some schemas can have just "extends"
- deleteDir(File) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Deletes a given directory recursively.
- DEPRECATED - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- DeprecatedDefinition - Class in io.github.besi97.graphql.codegen.model
- DeprecatedDefinition(String) - Constructor for class io.github.besi97.graphql.codegen.model.DeprecatedDefinition
- DeprecatedDefinition(String, String) - Constructor for class io.github.besi97.graphql.codegen.model.DeprecatedDefinition
-
field reason Only support in Kotlin.
- DeprecatedDefinitionBuilder - Class in io.github.besi97.graphql.codegen.model.builders
-
Builder of @deprecated annotation definition
- DO_NOT_GENERATE - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiInterfaceStrategy
-
Do not generate separate interfaces classes for GraphQL operation.
- DO_NOT_GENERATE - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiRootInterfaceStrategy
-
Do not generate super interface for GraphQL operations.
E
- ENUM - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- EnumDefinitionToDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map enum definition to a Freemarker data model
- EnumDefinitionToDataModelMapper(MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.mapper.EnumDefinitionToDataModelMapper
- EnumsGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for enums
- EnumsGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.EnumsGenerator
- EnumValueDefinition - Class in io.github.besi97.graphql.codegen.model
-
Freemarker-understandable format of enum value definition
- EnumValueDefinition(String, String, List<String>, DeprecatedDefinition) - Constructor for class io.github.besi97.graphql.codegen.model.EnumValueDefinition
- equals(Object) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- equals(Object) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- equals(Object) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- equals(Object) - Method in class io.github.besi97.graphql.codegen.model.graphql.Pair
- EQUALS_AND_HASH_CODE - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- escapeJsonString(String) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
-
Encodes the value as a JSON string according to http://json.org/ rules
- ExecutionAborted - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
- ExtendedDefinition<T extends graphql.language.NamedNode<T>,
E extends T> - Class in io.github.besi97.graphql.codegen.model.definitions -
Base class for all GraphQL definition types that contains base definition and its extensions
- ExtendedDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- ExtendedDocument - Class in io.github.besi97.graphql.codegen.model.definitions
-
GraphQL document that holds all extended definitions
- ExtendedDocument(Collection<ExtendedObjectTypeDefinition>, Collection<ExtendedObjectTypeDefinition>, Collection<ExtendedInputObjectTypeDefinition>, Collection<ExtendedEnumTypeDefinition>, Collection<ExtendedScalarTypeDefinition>, Collection<ExtendedInterfaceTypeDefinition>, Collection<ExtendedUnionTypeDefinition>) - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- ExtendedEnumTypeDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Extended definition of GraphQL enum type: based definition + its extensions
- ExtendedEnumTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedEnumTypeDefinition
- ExtendedFieldDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Used to identify whether the field definition comes from the extension or base definition
- ExtendedFieldDefinition(FieldDefinition, boolean) - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedFieldDefinition
- ExtendedImplementingTypeDefinition<T extends graphql.language.ImplementingTypeDefinition<T>,
E extends T> - Class in io.github.besi97.graphql.codegen.model.definitions -
Base class for all GraphQL definition types that might implement interfaces
- ExtendedImplementingTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedImplementingTypeDefinition
- ExtendedInputObjectTypeDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Extended definition of GraphQL input type: based definition + its extensions
- ExtendedInputObjectTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedInputObjectTypeDefinition
- ExtendedInterfaceTypeDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Extended definition of GraphQL interface type: based definition + its extensions
- ExtendedInterfaceTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedInterfaceTypeDefinition
- ExtendedObjectTypeDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Extended definition of GraphQL object type: based definition + its extensions
- ExtendedObjectTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedObjectTypeDefinition
- ExtendedScalarTypeDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Extended definition of GraphQL scalar type: based definition + its extensions
- ExtendedScalarTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedScalarTypeDefinition
- ExtendedUnionTypeDefinition - Class in io.github.besi97.graphql.codegen.model.definitions
-
Extended definition of GraphQL union type: based definition + its extensions
- ExtendedUnionTypeDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.definitions.ExtendedUnionTypeDefinition
- extensions - Variable in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
F
- FieldDefinitionsToResolverDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map field definitions to a Freemarker data model representing a resolver for these fields.
- FieldDefinitionsToResolverDataModelMapper(MapperFactory, InputValueDefinitionToParameterMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
- FieldDefinitionToParameterMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Mapper from GraphQL's FieldDefinition to a Freemarker-understandable format
- FieldDefinitionToParameterMapper(MapperFactory, InputValueDefinitionToParameterMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.FieldDefinitionToParameterMapper
- FieldResolversGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for field resolvers
- FieldResolversGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.FieldResolversGenerator
- fields - Variable in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
-
Contains all response projection fields, where: key - is the name+alias pair (where alias is nullable) value - is GraphQLResponseField which represents the response projection field
- FIELDS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- FILE_NAME_AS_PREFIX - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiNamePrefixStrategy
-
Will take GraphQL file name as a prefix for all generated API interfaces + value of apiNamePrefix config option.
- FilesGenerator - Interface in io.github.besi97.graphql.codegen.generators
-
Represents files generator
- FilesGeneratorsFactory - Class in io.github.besi97.graphql.codegen.generators
-
Factory for building files generators
- findSchemas() - Method in class io.github.besi97.graphql.codegen.supplier.SchemaFinder
-
Walks the directory tree starting at the root provided in the constructor to find GraphQL schemas.
- FOLDER_NAME_AS_PREFIX - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiNamePrefixStrategy
-
Will take parent folder name as a prefix for all generated API interfaces + value of apiNamePrefix config option.
- format(String, String) - Static method in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- formatList(List<String>, String) - Method in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
-
Format a list of values to a single string according to a formatter
- FORMATTER_TO_ARRAY - Static variable in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- FORMATTER_TO_ARRAY_OF_STRINGS - Static variable in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- FORMATTER_TO_STRING - Static variable in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- FreeMarkerTemplateFilesCreator - Class in io.github.besi97.graphql.codegen.generators
-
Utility class for generating files
- FreeMarkerTemplateType - Enum Class in io.github.besi97.graphql.codegen.generators
-
Type of the FreeMarker template
G
- generate() - Method in interface io.github.besi97.graphql.codegen.generators.FilesGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.EnumsGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.FieldResolversGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.InputGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.InterfaceGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.JacksonTypeIdResolverGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.OperationsGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.ParametrizedInputGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.RequestResponseGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.ResponseProjectionGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.TypeGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.generators.impl.UnionGenerator
- generate() - Method in class io.github.besi97.graphql.codegen.GraphQLCodegen
-
Entry point.
- GENERATE_ALL_METHOD_IN_PROJECTION - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- GENERATE_MODEL_OPEN_CLASSES - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- GENERATE_NOARGS_CONSTRUCTOR_ONLY - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- GENERATE_SEALED_INTERFACES - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- GENERATED_ANNOTATION - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- GENERATED_INFO - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- GeneratedInformation - Class in io.github.besi97.graphql.codegen.model
-
A class used for building a @Generated annotation on top of each generated class
- GeneratedInformation(MappingConfig) - Constructor for class io.github.besi97.graphql.codegen.model.GeneratedInformation
- GeneratedInformation(Supplier<ZonedDateTime>, MappingConfig) - Constructor for class io.github.besi97.graphql.codegen.model.GeneratedInformation
- GeneratedLanguage - Enum Class in io.github.besi97.graphql.codegen.model
-
Enum containing all supported langugages for code generation
- generateField(MappingContext, ExtendedFieldDefinition, ExtendedDefinition<?, ?>) - Static method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionToParameterMapper
-
Check whether the given field should be generated.
- generateResolversForField(MappingContext, ExtendedFieldDefinition, ExtendedDefinition<?, ?>) - Static method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionToParameterMapper
-
Check whether FieldResolver should be generated for a given field.
- get() - Method in class io.github.besi97.graphql.codegen.supplier.MergeableMappingConfigSupplier
- getAddGeneratedAnnotation() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated classes should be annotated with @Generated
- getAddGeneratedAnnotation() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getAddGeneratedAnnotation() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getAdditionalAnnotations(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.java.JavaAnnotationsMapper
- getAdditionalAnnotations(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinAnnotationsMapper
- getAdditionalAnnotations(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
- getAlias() - Method in interface io.github.besi97.graphql.codegen.model.graphql.GraphQLOperationRequest
-
Alias of GraphQL operation.
- getAlias() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- getAll(MappingContext, DataModelMapperFactory) - Static method in class io.github.besi97.graphql.codegen.generators.FilesGeneratorsFactory
-
Factory method for building files generators
- getAnnotation() - Method in class io.github.besi97.graphql.codegen.model.DeprecatedDefinition
- getAnnotations() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getAnnotations() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getAnnotations(MappingContext, Type<?>, NamedNode<?>, String, boolean) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
-
Get annotations for a given GraphQL type
- getAnnotations(MappingContext, ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
- getAnnotations(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
- getAnnotations(MappingContext, String, String, String, List<Directive>, boolean, NamedNode<?>) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
-
Get annotations for a given GraphQL type
- getAnnotationsForDirective(MappingContext, List<String>, Directive) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
-
Get a list of annotations for a given directive based on mapping config
- getAnnotationsMapper() - Method in class io.github.besi97.graphql.codegen.java.JavaMapperFactoryImpl
- getAnnotationsMapper() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinMapperFactoryImpl
- getAnnotationsMapper() - Method in interface io.github.besi97.graphql.codegen.mapper.MapperFactory
- getApiInterfaceStrategy() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies the strategy of generating api interfaces.
- getApiInterfaceStrategy() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiInterfaceStrategy() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiNamePrefix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the prefix for GraphQL api classes (query, mutation, subscription).
- getApiNamePrefix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiNamePrefix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiNamePrefixStrategy() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets prefix strategy for GraphQL api classes (query, mutation, subscription).
- getApiNamePrefixStrategy() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiNamePrefixStrategy() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiNameSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the suffix for GraphQL api classes (query, mutation, subscription).
- getApiNameSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiNameSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiPackageName() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Java package for generated api classes (Query, Mutation, Subscription).
- getApiPackageName() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiPackageName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiReturnListType() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Return type for api methods (query / subscription) that return list values For example: reactor.core.publisher.Flux
- getApiReturnListType() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiReturnListType() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiReturnType() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Return type for api methods (query / subscription) For example: reactor.core.publisher.Mono
- getApiReturnType() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiReturnType() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getApiRootInterfaceStrategy() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies the strategy of generating root api interface.
- getApiRootInterfaceStrategy() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getApiRootInterfaceStrategy() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getArrayJoiner() - Method in class io.github.besi97.graphql.codegen.java.JavaValueFormatter
- getArrayJoiner() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinValueFormatter
- getArrayJoiner() - Method in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- getColumn() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- getConnectionType() - Method in class io.github.besi97.graphql.codegen.model.RelayConfig
- getCustomAnnotationsMapping() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Can be used to supply custom annotations (serializers) for scalars.
- getCustomAnnotationsMapping() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getCustomAnnotationsMapping() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getCustomTemplates() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Can be used to supply paths to custom FreeMarker templates for code generation.
- getCustomTemplates() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getCustomTemplates() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getCustomTemplatesRoot() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Can be used to specify the root directory for the custom FreeMaker templates
- getCustomTemplatesRoot() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getCustomTemplatesRoot() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getCustomTypesMapping() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Can be used to supply custom mappings for scalars.
- getCustomTypesMapping() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getCustomTypesMapping() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getData() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- getData(String) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponse
- getDataModelMapper() - Method in class io.github.besi97.graphql.codegen.java.JavaMapperFactoryImpl
- getDataModelMapper() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinMapperFactoryImpl
- getDataModelMapper() - Method in interface io.github.besi97.graphql.codegen.mapper.MapperFactory
- getDateTime() - Method in class io.github.besi97.graphql.codegen.model.GeneratedInformation
- getDefaultValue() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getDefinition() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- getDefinitionInParentType() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getDeprecated() - Method in class io.github.besi97.graphql.codegen.model.EnumValueDefinition
- getDeprecated() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getDeprecated() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getDeprecated() - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- getDirectiveAnnotationsMapping() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Map GraphQL directives to Java annotations.
- getDirectiveAnnotationsMapping() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getDirectiveAnnotationsMapping() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getDirectiveArgumentName() - Method in class io.github.besi97.graphql.codegen.model.RelayConfig
- getDirectiveName() - Method in class io.github.besi97.graphql.codegen.model.RelayConfig
- getDirectiveNames() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
-
Return all directives for this definition
- getDirectives() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
-
Return all directives for this definition
- getDirectives(NamedNode<?>) - Static method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
- getDocument() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getDocumentFromIntrospectionResult(MappingConfig, String) - Static method in class io.github.besi97.graphql.codegen.parser.GraphQLDocumentParser
-
Generate an extended document from introspection result file
- getDocumentFromSchemas(MappingConfig, List<String>) - Static method in class io.github.besi97.graphql.codegen.parser.GraphQLDocumentParser
-
Generate an extended document from schema files
- getEmptyListValue() - Method in class io.github.besi97.graphql.codegen.java.JavaValueFormatter
- getEmptyListValue() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinValueFormatter
- getEmptyListValue() - Method in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- getEntry(Object) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- getEntry(Object, boolean) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
-
Serialize object to a string
- getEnumDefinitionMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getEnumDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getErrors() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- getErrorType() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- getExtensions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- getExtensions() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- getFieldDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedInterfaceTypeDefinition
-
Get fields with extended information of the given interface
- getFieldDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedObjectTypeDefinition
-
Get fields with extended information of the given object
- getFieldDefinitionsToResolverMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getFieldDefToParamMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getFieldNamesWithResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
-
Get names of all the fields that require separate resolver class.
- getFieldsToExcludeFromGeneration() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that WILL NOT be generated.
- getFieldsToExcludeFromGeneration() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getFieldsToExcludeFromGeneration() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getFieldsWithDataFetcherResult() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that require DataFetcherResult.
- getFieldsWithDataFetcherResult() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getFieldsWithDataFetcherResult() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getFieldsWithoutResolvers() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that DO NOT require Resolvers.
- getFieldsWithoutResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getFieldsWithoutResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getFieldsWithResolvers() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that require Resolvers.
- getFieldsWithResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getFieldsWithResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getFieldVisibility(MappingContext) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
- getFileContent(String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Get content of the file.
- getFileExtension() - Method in enum class io.github.besi97.graphql.codegen.model.GeneratedLanguage
- getGenerateAllMethodInProjection() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Enables the generation of the all$ method in the projection classes of the client.
- getGenerateAllMethodInProjection() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateAllMethodInProjection() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateApis() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether api classes should be generated.
- getGenerateApis() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateApis() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateApisWithSuspendFunctions() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Whether signatures of API interface methods should have
suspendmodifier. - getGenerateApisWithSuspendFunctions() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateApisWithSuspendFunctions() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateApisWithThrowsException() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Whether signatures of API interface methods should have
throws Exception. - getGenerateApisWithThrowsException() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateApisWithThrowsException() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateBuilder() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should have builder.
- getGenerateBuilder() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateBuilder() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateClient() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether client-side classes should be generated for each query, mutation and subscription.
- getGenerateClient() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateClient() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGeneratedAnnotation() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Returns a qualified class name (with package) of the Generated annotation that will be added on top of every generated class.
- getGeneratedAnnotation() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGeneratedAnnotation() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateDataFetchingEnvironmentArgumentInApis() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
If true, then graphql.schema.DataFetchingEnvironment env will be added as a last argument to all methods of root type resolvers and field resolvers.
- getGenerateDataFetchingEnvironmentArgumentInApis() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateDataFetchingEnvironmentArgumentInApis() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGeneratedInformation() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGeneratedLanguage() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Generate code with lang
- getGeneratedLanguage() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGeneratedLanguage() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGeneratedType() - Method in class io.github.besi97.graphql.codegen.model.GeneratedInformation
- getGenerateEqualsAndHashCode() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should have equals and hashCode methods defined.
- getGenerateEqualsAndHashCode() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateEqualsAndHashCode() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateExtensionFieldsResolvers() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Whether all fields in extensions (
extend typeandextend interface) should be present in Resolver interface instead of the type class itself. - getGenerateExtensionFieldsResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateExtensionFieldsResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateImmutableModels() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should be immutable.
- getGenerateImmutableModels() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateImmutableModels() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateJacksonTypeIdResolver() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated union interfaces should be annotated with a Jackson type id resolver generated in model package.
- getGenerateJacksonTypeIdResolver() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateJacksonTypeIdResolver() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateModelsForRootTypes() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether model classes should be generated for Query/Subscription/Mutation.
- getGenerateModelsForRootTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateModelsForRootTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateParameterizedFieldsResolvers() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
If true, then generate separate `Resolver` interface for parametrized fields.
- getGenerateParameterizedFieldsResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateParameterizedFieldsResolvers() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenerateToString() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should have toString method defined.
- getGenerateToString() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getGenerateToString() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getGenericsString(MappingContext, String, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Wrap string into generics type
- getGetterMethodName() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getGraphqlName() - Method in class io.github.besi97.graphql.codegen.model.EnumValueDefinition
- getGraphQLTypeMapper() - Method in class io.github.besi97.graphql.codegen.java.JavaMapperFactoryImpl
- getGraphQLTypeMapper() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinMapperFactoryImpl
- getGraphQLTypeMapper() - Method in interface io.github.besi97.graphql.codegen.mapper.MapperFactory
- getGraphqlTypeName() - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- getImplements() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedImplementingTypeDefinition
- getImports(MappingContext, String) - Static method in class io.github.besi97.graphql.codegen.mapper.DataModelMapper
-
Returns imports required for a generated class: - model package name - generic package name
- getInput() - Method in interface io.github.besi97.graphql.codegen.model.graphql.GraphQLOperationRequest
-
Input for for GraphQL operation.
- getInputDefinitionMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getInputDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getInputParameters() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getInputsName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getInterfaceChildren() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
-
Construct a map having interface name as a key and all children (that are extending this interface) as a value
- getInterfaceChildren() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getInterfaceDefinitionMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getInterfaceDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getInterfacesName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getInterfacesNames() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getJacksonResolverTypeIdAnnotation(String) - Method in class io.github.besi97.graphql.codegen.java.JavaAnnotationsMapper
- getJacksonResolverTypeIdAnnotation(String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinAnnotationsMapper
- getJacksonResolverTypeIdAnnotation(String) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
-
Get language specific Jackson type id resolver annotation
- getJacksonTypeIdAnnotations(MappingContext, NamedNode<?>) - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
-
Get Jackson type id resolver annotations
- getJavaDoc() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedFieldDefinition
-
Get java doc of GraphQL field
- getJavaDoc() - Method in class io.github.besi97.graphql.codegen.model.EnumValueDefinition
- getJavaDoc() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getJavaDoc() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getJavaName() - Method in class io.github.besi97.graphql.codegen.model.EnumValueDefinition
- getJavaName() - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- getKey() - Method in class io.github.besi97.graphql.codegen.model.graphql.Pair
- getLanguageType(MappingContext, Type<?>) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Convert GraphQL type to a corresponding language-specific type
- getLanguageType(MappingContext, Type<?>, String, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Convert GraphQL type to a corresponding language-specific type (java/kotlin/etc)
- getLanguageType(MappingContext, Type<?>, String, String, boolean, boolean) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Convert GraphQL type to a corresponding language-specific type (java/kotlin/etc)
- getLanguageType(MappingContext, Type<?>, String, String, boolean, boolean, List<Directive>) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Convert GraphQL type to a corresponding language-specific type (java/kotlin/etc)
- getLanguageType(MappingContext, Type<?>, String, String, List<Directive>) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Convert GraphQL type to a corresponding language-specific type (java/kotlin/etc)
- getLanguageType(MappingContext, String, String, String, boolean, boolean, List<Directive>) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- getLanguageType(MappingContext, String, String, String, boolean, boolean, List<Directive>) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Convert GraphQL type to a corresponding language-specific type (java/kotlin/etc)
- getLine() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- getListJoiner() - Method in class io.github.besi97.graphql.codegen.java.JavaValueFormatter
- getListJoiner() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinValueFormatter
- getListJoiner() - Method in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- getLocations() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- getMandatoryType(String) - Static method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
- getMapperFactory() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getMemberTypeNames() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedUnionTypeDefinition
- getMessage() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- getMethodName() - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- getModelClassNameWithPrefixAndSuffix(MappingContext, ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapper
-
Generates a model class name including prefix and suffix (if any)
- getModelClassNameWithPrefixAndSuffix(MappingContext, String) - Static method in class io.github.besi97.graphql.codegen.mapper.DataModelMapper
-
Generates a model class name including prefix and suffix (if any)
- getModelNamePrefix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the prefix for GraphQL model classes (type, input, interface, enum, union).
- getModelNamePrefix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getModelNamePrefix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getModelNameSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the suffix for GraphQL model classes (type, input, interface, enum, union).
- getModelNameSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getModelNameSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getModelPackageName() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Java package for generated model classes (type, input, interface, enum, union).
- getModelPackageName() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getModelPackageName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getModelPackageName(MappingContext) - Static method in class io.github.besi97.graphql.codegen.mapper.DataModelMapper
-
Get java package name for model class.
- getModelValidationAnnotation() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Annotation for mandatory (NonNull) fields.
- getModelValidationAnnotation() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getModelValidationAnnotation() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getMutationResolverParentInterface() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Interface that will be added as "extend" to all generated api Mutation interfaces.
- getMutationResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getMutationResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getName() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- getName() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- getName() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getName() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getName() - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- getNestedTypeName(Type<?>) - Static method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Get nested type of GraphQL Type.
- getNullValue() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinValueFormatter
- getNullValue() - Method in interface io.github.besi97.graphql.codegen.mapper.ValueFormatter
- getOperationDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getOperationName() - Method in interface io.github.besi97.graphql.codegen.model.graphql.GraphQLOperationRequest
-
Name of GraphQL operation.
- getOperationName() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- getOperationName() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequests
- getOperationsName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getOperationsNames() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getOperationType() - Method in interface io.github.besi97.graphql.codegen.model.graphql.GraphQLOperationRequest
-
Type of GraphQL operation.
- getOriginalName() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getOriginalName() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getOutputDirectory() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getPackageName() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Java package for generated classes.
- getPackageName() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getPackageName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getParameters() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- getParameters() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getParametrizedInputClassName() - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- getParametrizedInputSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
The suffix for `ParametrizedInput` classes.
- getParametrizedInputSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getParametrizedInputSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getParametrizedResolverAnnotations() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Annotations that will be added to all parametrized resolver methods.
- getParametrizedResolverAnnotations() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getParametrizedResolverAnnotations() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getParentInterface(MappingContext, String) - Static method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
-
Get parent Interface name
- getParentInterfaceProperties() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
-
Get a list of fields for each interface This method is used only for Kotlin
- getPath() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- getProjection() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- getQueryResolverParentInterface() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Interface that will be added as "extend" to all generated api Query interfaces.
- getQueryResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getQueryResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getReason() - Method in class io.github.besi97.graphql.codegen.model.DeprecatedDefinition
- getRelayConfig() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Relay-related configurations.
- getRelayConfig() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getRelayConfig() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getRequest() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- getRequestResponseDefinitionMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getRequests() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequests
- getRequestSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
The suffix for `Request` classes.
- getRequestSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getRequestSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getResolverArgumentAnnotations() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Annotations that will be added to all resolver arguments.
- getResolverArgumentAnnotations() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getResolverArgumentAnnotations() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getResolverParentInterface() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Interface that will be added as "extend" to all generated TypeResolver interfaces.
- getResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getResponseProjection() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- getResponseProjectionMaxDepth() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Limit depth when `all$` invoke which has subProjections
- getResponseProjectionMaxDepth() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getResponseProjectionMaxDepth() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getResponseProjectionSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
The suffix for `ResponseProjection` classes.
- getResponseProjectionSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getResponseProjectionSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getResponseReturnType(MappingContext, ExtendedFieldDefinition, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- getResponseReturnType(MappingContext, ExtendedFieldDefinition, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
- getResponseSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
The suffix for `Response` classes.
- getResponseSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getResponseSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getScalarDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getSourceLocation() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- getSourceName() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- getSubscriptionResolverParentInterface() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Interface that will be added as "extend" to all generated api Subscription interfaces.
- getSubscriptionResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getSubscriptionResolverParentInterface() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getSubscriptionReturnType() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Return type for subscription methods.
- getSubscriptionReturnType() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getSubscriptionReturnType() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getType() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- getType() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- getType() - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- getTypeConsideringPrimitive(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- getTypeConsideringPrimitive(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
- getTypeDefinitionMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getTypeDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getTypeResolverPrefix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the prefix for GraphQL type resolver classes.
- getTypeResolverPrefix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getTypeResolverPrefix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getTypeResolverSuffix() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the suffix for GraphQL type resolver classes.
- getTypeResolverSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getTypeResolverSuffix() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getTypesAsInterfaces() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Types that must generated as interfaces.
- getTypesAsInterfaces() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getTypesAsInterfaces() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getTypesUnionsInterfacesNames() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
-
Get a joint list of names of all types, unions and interfaces
- getTypesUnionsInterfacesNames() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getUnionDefinitionMapper() - Method in class io.github.besi97.graphql.codegen.mapper.DataModelMapperFactory
- getUnionDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getUnionsNames() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDocument
- getUnionsNames() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getUnknownFieldsPropertyName() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies the name of the property to be included in api classes to support unknown fields during serialization or deserialization
- getUnknownFieldsPropertyName() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getUnknownFieldsPropertyName() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getUseObjectMapperForInputSerialization() - Method in interface io.github.besi97.graphql.codegen.model.graphql.GraphQLOperationRequest
-
Fields that require serialization using
ObjectMapper.writeValueAsString(Object) - getUseObjectMapperForRequestSerialization() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that require serialization using
ObjectMapper.writeValueAsString(Object) - getUseObjectMapperForRequestSerialization() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getUseObjectMapperForRequestSerialization() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getUseOptionalForNullableReturnTypes() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether return types of generated API interface should be wrapped into
java.util.Optional - getUseOptionalForNullableReturnTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getUseOptionalForNullableReturnTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getUseWrapperForNullableInputTypes() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether input types of generated input classes should be wrapped into
ArgumentValue. - getUseWrapperForNullableInputTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- getUseWrapperForNullableInputTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- getValue() - Method in class io.github.besi97.graphql.codegen.model.graphql.Pair
- getValueDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedEnumTypeDefinition
-
Get enum value definitions from the definition and its extensions
- getValueDefinitions() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedInputObjectTypeDefinition
- getValueMapper() - Method in class io.github.besi97.graphql.codegen.java.JavaAnnotationsMapper
- getValueMapper() - Method in class io.github.besi97.graphql.codegen.java.JavaMapperFactoryImpl
- getValueMapper() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinAnnotationsMapper
- getValueMapper() - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinMapperFactoryImpl
- getValueMapper() - Method in class io.github.besi97.graphql.codegen.mapper.AnnotationsMapper
- getValueMapper() - Method in interface io.github.besi97.graphql.codegen.mapper.MapperFactory
- getVisibility() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- GraphQLCodegen - Class in io.github.besi97.graphql.codegen
-
Generates classes based on GraphQL schema.
- GraphQLCodegen(String, File, MappingConfig, GeneratedInformation, MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.GraphQLCodegen
- GraphQLCodegen(List<String>, File, MappingConfig, GeneratedInformation, MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.GraphQLCodegen
- GraphQLCodegen(List<String>, String, File, MappingConfig, MappingConfigSupplier, MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.GraphQLCodegen
- GraphQLCodegen(List<String>, String, File, MappingConfig, MappingConfigSupplier, GeneratedInformation, MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.GraphQLCodegen
- GraphQLCodegenConfiguration - Interface in io.github.besi97.graphql.codegen.model
-
Defines all properties that should be parsed in the plugin.
- GraphQLCodegenValidate - Class in io.github.besi97.graphql.codegen
-
Validator of GraphQL schemas
- GraphQLCodegenValidate(List<String>) - Constructor for class io.github.besi97.graphql.codegen.GraphQLCodegenValidate
- GraphQLDocumentParser - Class in io.github.besi97.graphql.codegen.parser
-
Provides methods for extended document generation
- GraphQLError - Class in io.github.besi97.graphql.codegen.model.graphql
-
A class describing GraphQL error
- GraphQLError() - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- GraphQLError(String, List<GraphQLErrorSourceLocation>, GraphQLErrorType, List<Object>, Map<String, Object>) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- GraphQLErrorSourceLocation - Class in io.github.besi97.graphql.codegen.model.graphql
-
Source location of GraphQL error in the schema
- GraphQLErrorSourceLocation() - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- GraphQLErrorSourceLocation(int, int, String) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- GraphQLErrorType - Enum Class in io.github.besi97.graphql.codegen.model.graphql
-
Possible types of GraphQL errors Copied from graphql-java library
- GraphQLOperation - Enum Class in io.github.besi97.graphql.codegen.model.graphql
-
GraphQL operations
- GraphQLOperationRequest - Interface in io.github.besi97.graphql.codegen.model.graphql
-
The contract for GraphQL request
- GraphQLParametrizedInput - Interface in io.github.besi97.graphql.codegen.model.graphql
-
The implementation class should contain the input values of the field definition.
- GraphQLRequest - Class in io.github.besi97.graphql.codegen.model.graphql
-
Class which represents GraphQL Request
- GraphQLRequest(GraphQLOperationRequest) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- GraphQLRequest(GraphQLOperationRequest, GraphQLResponseProjection) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- GraphQLRequest(String, GraphQLOperationRequest) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- GraphQLRequest(String, GraphQLOperationRequest, GraphQLResponseProjection) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
- GraphQLRequests - Class in io.github.besi97.graphql.codegen.model.graphql
-
Class which represents multiple GraphQL Requests
- GraphQLRequests(GraphQLRequest...) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequests
- GraphQLRequests(String, GraphQLRequest...) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequests
- GraphQLRequestSerializer - Class in io.github.besi97.graphql.codegen.model.graphql
-
Serializer of GraphQL request.
- GraphQLResponse - Class in io.github.besi97.graphql.codegen.model.graphql
-
Generic class having content of GraphQL response
- GraphQLResponse() - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponse
- GraphQLResponseField - Class in io.github.besi97.graphql.codegen.model.graphql
-
Class which contains all information about a field which should be returned back to the client.
- GraphQLResponseField(String) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- GraphQLResponseProjection - Class in io.github.besi97.graphql.codegen.model.graphql
-
The implementation class should contain the fields of the particular type that should be returned to the client.
- GraphQLResponseProjection() - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
- GraphQLResponseProjection(GraphQLResponseProjection) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
- GraphQLResponseProjection(List<? extends GraphQLResponseProjection>) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
- GraphQLResult<T> - Class in io.github.besi97.graphql.codegen.model.graphql
-
GraphQL response.
- GraphQLResult() - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- GraphQLResult(T, List<GraphQLError>) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- GraphQLTypeMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map GraphQL type to language-specific type (java/kotlin/etc)
- GraphQLTypeMapper() - Constructor for class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
- groupBySourceLocationFile() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedObjectTypeDefinition
-
Get definition and its extensions grouped by source location.
- groupBySourceLocationFolder() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedObjectTypeDefinition
H
- hasErrors() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- hashCode() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- hashCode() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- hashCode() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- hashCode() - Method in class io.github.besi97.graphql.codegen.model.graphql.Pair
I
- IMMUTABLE_MODELS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- IMPLEMENTS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- IMPORTS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- initCustomTypeMappings(Collection<ExtendedScalarTypeDefinition>) - Method in class io.github.besi97.graphql.codegen.GraphQLCodegen
- initCustomTypeMappings(Collection<ExtendedScalarTypeDefinition>) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLCodegen
- initCustomTypeMappings(Collection<ExtendedScalarTypeDefinition>) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLCodegen
- initDefaultValues(MappingConfig) - Method in class io.github.besi97.graphql.codegen.GraphQLCodegen
- initDefaultValues(MappingConfig) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLCodegen
- initDefaultValues(MappingConfig) - Static method in class io.github.besi97.graphql.codegen.model.MappingConfigDefaultValuesInitializer
-
Initializes mapping config with default values
- INITIALIZE_NULLABLE_TYPES - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- InputDefinitionToDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map input type definition to a Freemarker data model
- InputDefinitionToDataModelMapper(MapperFactory, InputValueDefinitionToParameterMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.InputDefinitionToDataModelMapper
- InputGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for inputs
- InputGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.InputGenerator
- InputValueDefinitionToParameterMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Mapper from GraphQL's InputValueDefinition to a Freemarker-understandable format
- InputValueDefinitionToParameterMapper(MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.mapper.InputValueDefinitionToParameterMapper
- INTERFACE - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- INTERFACE_PER_OPERATION - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiInterfaceStrategy
-
Generate separate interface classes for each GraphQL operation.
- INTERFACE_PER_SCHEMA - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiRootInterfaceStrategy
-
Generate multiple super-interfaces for each graphql file.
- InterfaceDefinitionToDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map interface definition to a Freemarker data model
- InterfaceDefinitionToDataModelMapper(MapperFactory, FieldDefinitionToParameterMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.InterfaceDefinitionToDataModelMapper
- InterfaceGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for interfaces
- InterfaceGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.InterfaceGenerator
- InvalidSyntax - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
- io.github.besi97.graphql.codegen - package io.github.besi97.graphql.codegen
- io.github.besi97.graphql.codegen.generators - package io.github.besi97.graphql.codegen.generators
- io.github.besi97.graphql.codegen.generators.impl - package io.github.besi97.graphql.codegen.generators.impl
- io.github.besi97.graphql.codegen.java - package io.github.besi97.graphql.codegen.java
- io.github.besi97.graphql.codegen.kotlin - package io.github.besi97.graphql.codegen.kotlin
- io.github.besi97.graphql.codegen.mapper - package io.github.besi97.graphql.codegen.mapper
- io.github.besi97.graphql.codegen.model - package io.github.besi97.graphql.codegen.model
- io.github.besi97.graphql.codegen.model.builders - package io.github.besi97.graphql.codegen.model.builders
- io.github.besi97.graphql.codegen.model.definitions - package io.github.besi97.graphql.codegen.model.definitions
- io.github.besi97.graphql.codegen.model.exception - package io.github.besi97.graphql.codegen.model.exception
- io.github.besi97.graphql.codegen.model.graphql - package io.github.besi97.graphql.codegen.model.graphql
- io.github.besi97.graphql.codegen.parser - package io.github.besi97.graphql.codegen.parser
- io.github.besi97.graphql.codegen.supplier - package io.github.besi97.graphql.codegen.supplier
- io.github.besi97.graphql.codegen.utils - package io.github.besi97.graphql.codegen.utils
- isBlank(CharSequence) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Copy of org.apache.commons.lang3.StringUtils#isBlank(CharSequence)
- isDefinitionPartOfUnion(ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedUnionTypeDefinition
-
Find out if a given definition is part of a union.
- isEmpty(Collection<?>) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Check if collection is empty.
- isFromExtension() - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedFieldDefinition
- isGenerateModelOpenClasses() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generate public model classes.
- isGenerateModelOpenClasses() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- isGenerateModelOpenClasses() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- isGenerateModelsWithPublicFields() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether model classes should have public or private fields.
- isGenerateModelsWithPublicFields() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- isGenerateModelsWithPublicFields() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- isGenerateNoArgsConstructorOnly() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether model classes should only have a no-args constructor.
- isGenerateNoArgsConstructorOnly() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- isGenerateNoArgsConstructorOnly() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- isGenerateSealedInterfaces() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generate sealed interfaces.
- isGenerateSealedInterfaces() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- isGenerateSealedInterfaces() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- isGraphqlOperation(String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Check whether the given type definition is either Query or Mutation or Subscription.
- isInitializeNullableTypes() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether classes should be generated with constructors setting the default value for nullable fields to null.
- isInitializeNullableTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- isInitializeNullableTypes() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- isInterfaceOrUnion() - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- isInterfaceOrUnion(MappingContext, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
- isJavaPrimitive(String) - Static method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- isKotlinPrimitive(String) - Static method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- isMandatory() - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- isMandatory() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- isNotBlank(CharSequence) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Inverted copy of org.apache.commons.lang3.StringUtils.isBlank(CharSequence cs)
- isPrimitive(String) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- isPrimitive(String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- isPrimitive(String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Check if the time is primitive.
- isPrimitiveCanBeUsed() - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- isSerializeUsingObjectMapper() - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- isSerializeUsingObjectMapper() - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- isSupportUnknownFields() - Method in interface io.github.besi97.graphql.codegen.model.GraphQLCodegenConfiguration
- isSupportUnknownFields() - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- isSupportUnknownFields() - Method in class io.github.besi97.graphql.codegen.model.MappingContext
- isSuspend() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- isThrowsException() - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
J
- JACKSON_TYPE_ID_RESOLVER - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- JacksonTypeIdResolverGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates a JacksonTypeIdResolver file
- JacksonTypeIdResolverGenerator(MappingContext) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.JacksonTypeIdResolverGenerator
- JAVA - Enum constant in enum class io.github.besi97.graphql.codegen.model.GeneratedLanguage
- JAVA_DOC - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- JAVA_UTIL_LIST - Static variable in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- JAVA_UTIL_LIST_ELEMENT_REGEX - Static variable in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- JavaAnnotationsMapper - Class in io.github.besi97.graphql.codegen.java
-
Mapper class for converting GraphQL types to Java types
- JavaAnnotationsMapper(ValueMapper) - Constructor for class io.github.besi97.graphql.codegen.java.JavaAnnotationsMapper
- JavaDataModelMapper - Class in io.github.besi97.graphql.codegen.java
-
Data model mapper for JAVA generated classes
- JavaDataModelMapper() - Constructor for class io.github.besi97.graphql.codegen.java.JavaDataModelMapper
- JavaDocBuilder - Class in io.github.besi97.graphql.codegen.model.builders
-
Java doc builder
- JavaGraphQLCodegen - Class in io.github.besi97.graphql.codegen.java
-
Class having only Java-specific methods for code-generation Most of the logic is still residing in the parent class
- JavaGraphQLCodegen(String, File, MappingConfig, GeneratedInformation) - Constructor for class io.github.besi97.graphql.codegen.java.JavaGraphQLCodegen
- JavaGraphQLCodegen(List<String>, File, MappingConfig, GeneratedInformation) - Constructor for class io.github.besi97.graphql.codegen.java.JavaGraphQLCodegen
- JavaGraphQLCodegen(List<String>, String, File, MappingConfig, MappingConfigSupplier) - Constructor for class io.github.besi97.graphql.codegen.java.JavaGraphQLCodegen
- JavaGraphQLCodegen(List<String>, String, File, MappingConfig, MappingConfigSupplier, GeneratedInformation) - Constructor for class io.github.besi97.graphql.codegen.java.JavaGraphQLCodegen
- JavaGraphQLTypeMapper - Class in io.github.besi97.graphql.codegen.java
-
Mapper class for converting GraphQL types to Java types
- JavaGraphQLTypeMapper() - Constructor for class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- JavaMapperFactoryImpl - Class in io.github.besi97.graphql.codegen.java
-
A factory of various mappers for Java language
- JavaMapperFactoryImpl() - Constructor for class io.github.besi97.graphql.codegen.java.JavaMapperFactoryImpl
- JavaValueFormatter - Class in io.github.besi97.graphql.codegen.java
-
Class contains various formatting logic that is specific only for Java language
- JavaValueFormatter() - Constructor for class io.github.besi97.graphql.codegen.java.JavaValueFormatter
K
- KOTLIN - Enum constant in enum class io.github.besi97.graphql.codegen.model.GeneratedLanguage
- KOTLIN_UTIL_LIST_ELEMENT_REGEX - Static variable in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- KotlinAnnotationsMapper - Class in io.github.besi97.graphql.codegen.kotlin
-
Mapper class for converting GraphQL types to Kotlin types
- KotlinAnnotationsMapper(ValueMapper) - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinAnnotationsMapper
- KotlinDataModelMapper - Class in io.github.besi97.graphql.codegen.kotlin
-
Data model mapper for KOTLIN generated classes
- KotlinDataModelMapper() - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinDataModelMapper
- KotlinGraphQLCodegen - Class in io.github.besi97.graphql.codegen.kotlin
-
Class having only Kotlin-specific methods for code-generation Most of the logic is still residing in the parent class
- KotlinGraphQLCodegen(String, File, MappingConfig, GeneratedInformation) - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLCodegen
- KotlinGraphQLCodegen(List<String>, File, MappingConfig, GeneratedInformation) - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLCodegen
- KotlinGraphQLCodegen(List<String>, String, File, MappingConfig, MappingConfigSupplier) - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLCodegen
- KotlinGraphQLCodegen(List<String>, String, File, MappingConfig, MappingConfigSupplier, GeneratedInformation) - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLCodegen
- KotlinGraphQLTypeMapper - Class in io.github.besi97.graphql.codegen.kotlin
-
Mapper class for converting GraphQL types to Kotlin types
- KotlinGraphQLTypeMapper() - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- KotlinMapperFactoryImpl - Class in io.github.besi97.graphql.codegen.kotlin
-
A factory of various mappers for Kotlin language
- KotlinMapperFactoryImpl() - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinMapperFactoryImpl
- KotlinValueFormatter - Class in io.github.besi97.graphql.codegen.kotlin
-
Class contains various formatting logic that is specific only for Kotlin language
- KotlinValueFormatter() - Constructor for class io.github.besi97.graphql.codegen.kotlin.KotlinValueFormatter
L
- LanguageNotSupportedException - Exception in io.github.besi97.graphql.codegen.model.exception
-
Eception is thrown when specified language is not supportted by GraphQL Code generator
- LanguageNotSupportedException(GeneratedLanguage) - Constructor for exception io.github.besi97.graphql.codegen.model.exception.LanguageNotSupportedException
M
- map(MappingContext, Value<?>, Type<?>) - Method in class io.github.besi97.graphql.codegen.mapper.ValueMapper
- map(MappingContext, Value<?>, Type<?>, String) - Method in class io.github.besi97.graphql.codegen.mapper.ValueMapper
-
Map GraphQL value of a given type according to a formatter
- map(MappingContext, ExtendedEnumTypeDefinition) - Method in class io.github.besi97.graphql.codegen.mapper.EnumDefinitionToDataModelMapper
-
Map field definition to a Freemarker data model
- map(MappingContext, ExtendedInputObjectTypeDefinition) - Method in class io.github.besi97.graphql.codegen.mapper.InputDefinitionToDataModelMapper
-
Map input type definition to a Freemarker data model
- map(MappingContext, ExtendedInterfaceTypeDefinition) - Method in class io.github.besi97.graphql.codegen.mapper.InterfaceDefinitionToDataModelMapper
-
Map interface definition to a Freemarker data model
- map(MappingContext, ExtendedObjectTypeDefinition) - Method in class io.github.besi97.graphql.codegen.mapper.TypeDefinitionToDataModelMapper
-
Map type definition to a Freemarker data model
- map(MappingContext, ExtendedUnionTypeDefinition) - Method in class io.github.besi97.graphql.codegen.mapper.UnionDefinitionToDataModelMapper
-
Map union definition to a Freemarker data model
- map(MappingContext, List<InputValueDefinition>, String) - Method in class io.github.besi97.graphql.codegen.mapper.InputValueDefinitionToParameterMapper
-
Map input value definition to a Freemarker-understandable data model type
- mapFields(MappingContext, List<ExtendedFieldDefinition>, ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionToParameterMapper
-
Map field definition to a Freemarker-understandable data model type
- mapParametrizedInput(MappingContext, ExtendedFieldDefinition, ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.mapper.RequestResponseDefinitionToDataModelMapper
-
Map field definition to a Freemarker data model of Parametrized Input.
- MapperFactory - Interface in io.github.besi97.graphql.codegen.mapper
-
Factory for creating JVM-language-specific mappers
- mappingConfig - Variable in class io.github.besi97.graphql.codegen.GraphQLCodegen
- MappingConfig - Class in io.github.besi97.graphql.codegen.model
-
The type Mapping config.
- MappingConfig() - Constructor for class io.github.besi97.graphql.codegen.model.MappingConfig
- MappingConfigConstants - Class in io.github.besi97.graphql.codegen.model
-
Various constants used in code generation process Constants with "_STRING" suffix are used by plugins
- MappingConfigDefaultValuesInitializer - Class in io.github.besi97.graphql.codegen.model
-
Initializes mapping config with default values
- MappingConfigSupplier - Interface in io.github.besi97.graphql.codegen.supplier
-
The interface Mapping config supplier.
- MappingConfigValidator - Class in io.github.besi97.graphql.codegen.model
-
Validator of the mapping config
- MappingContext - Class in io.github.besi97.graphql.codegen.model
-
A context of a single mapping process.
- MappingContext.Builder - Class in io.github.besi97.graphql.codegen.model
-
Builder of the mapping context
- mapProjectionFields(MappingContext, List<ExtendedFieldDefinition>, ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionToParameterMapper
-
Map field definition to a Freemarker-understandable data model type
- mapRequest(MappingContext, ExtendedFieldDefinition, String, List<String>) - Method in class io.github.besi97.graphql.codegen.mapper.RequestResponseDefinitionToDataModelMapper
-
Map field definition to a Request Freemarker data model.
- mapResponse(MappingContext, ExtendedFieldDefinition, String, List<String>) - Method in class io.github.besi97.graphql.codegen.mapper.RequestResponseDefinitionToDataModelMapper
-
Map field definition to a Response Freemarker data model.
- mapResponseProjection(MappingContext, ExtendedDefinition<?, ?>) - Method in class io.github.besi97.graphql.codegen.mapper.RequestResponseDefinitionToDataModelMapper
-
Map type definition to a Freemarker data model of Response Projection.
- mapRootTypeField(MappingContext, ExtendedFieldDefinition, String, List<String>) - Method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
-
Map field definition to a Freemarker data model
- mapRootTypeFields(MappingContext, ExtendedObjectTypeDefinition) - Method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
-
Map a root object type definition to a Freemarker data model for a resolver with all its fields.
- mapToTypeResolver(MappingContext, List<ExtendedFieldDefinition>, String) - Method in class io.github.besi97.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
-
Map field definition to a Freemarker data model
- MergeableMappingConfigSupplier - Class in io.github.besi97.graphql.codegen.supplier
-
Retrieve a MappingConfig from JSON or HOCON configuration file.
- MergeableMappingConfigSupplier(List<String>) - Constructor for class io.github.besi97.graphql.codegen.supplier.MergeableMappingConfigSupplier
-
Instantiates a new Json configuration file supplier.
- METHOD_NAME - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- MODEL_NAME_PREFIX - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- MODEL_NAME_SUFFIX - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- MUTATION - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLOperation
N
- NAME - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- NamedDefinition - Class in io.github.besi97.graphql.codegen.model
-
Class describes a specific GraphQL type converted to a specific JVM language
- NamedDefinition(String, String, boolean, boolean, boolean, boolean) - Constructor for class io.github.besi97.graphql.codegen.model.NamedDefinition
O
- OBJECT_MAPPER - Static variable in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- OBJECT_MAPPER - Static variable in class io.github.besi97.graphql.codegen.utils.Utils
- objectMapperWriteValueAsString(Object) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- OPERATION_NAME - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- OPERATION_TYPE - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- OperationDefinition - Class in io.github.besi97.graphql.codegen.model
-
Freemarker-understandable format of operation (Query/Mutation/Subscription)
- OperationDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.OperationDefinition
- OperationNotSupported - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
- OPERATIONS - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- OPERATIONS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- OperationsGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for oeprations
- OperationsGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.OperationsGenerator
P
- PACKAGE - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- Pair<K,
V> - Class in io.github.besi97.graphql.codegen.model.graphql -
Class that represents a key-value pair.
- Pair(K, V) - Constructor for class io.github.besi97.graphql.codegen.model.graphql.Pair
- ParameterDefinition - Class in io.github.besi97.graphql.codegen.model
-
Freemarker-understandable format of method parameter and field definition
- ParameterDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.ParameterDefinition
- parameters(GraphQLParametrizedInput) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- PARAMETRIZED_INPUT - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- ParametrizedInputGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for parametrized inputs
- ParametrizedInputGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.ParametrizedInputGenerator
- PARENT_INTERFACE_PROPERTIES - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- PARENT_INTERFACE_TYPE_PLACEHOLDER - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- projection(GraphQLResponseProjection) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- ProjectionParameterDefinition - Class in io.github.besi97.graphql.codegen.model
-
Freemarker-understandable format of parameter user in ResponseProjection
- ProjectionParameterDefinition() - Constructor for class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- putCustomTemplatesIfAbsent(String, String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
-
Provide a path to a custom template for the specific FreeMarker template type (if absent).
- putCustomTypeMappingIfAbsent(String, String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
-
Put custom type mapping if absent.
Q
- QUERY - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLOperation
R
- RelayConfig - Class in io.github.besi97.graphql.codegen.model
-
Relay-related configurations
- RelayConfig() - Constructor for class io.github.besi97.graphql.codegen.model.RelayConfig
- replaceLeadingAtSign(String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Replace leading annotation (@) sign
- REQUEST - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- RequestResponseDefinitionToDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map request and response definition to a Freemarker data model
- RequestResponseDefinitionToDataModelMapper(MapperFactory, FieldDefinitionToParameterMapper, InputValueDefinitionToParameterMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.RequestResponseDefinitionToDataModelMapper
- RequestResponseGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for requests and responses
- RequestResponseGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.RequestResponseGenerator
- RESPONSE - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- RESPONSE_PROJECTION - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- RESPONSE_PROJECTION_MAX_DEPTH - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- ResponseProjectionGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for response projections
- ResponseProjectionGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.ResponseProjectionGenerator
- RETURN_TYPE_NAME - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
S
- SchemaFinder - Class in io.github.besi97.graphql.codegen.supplier
-
Walks a directory tree to find GraphQL schema files.
- SchemaFinder(Path) - Constructor for class io.github.besi97.graphql.codegen.supplier.SchemaFinder
-
Creates a new SchemaFinder with the given directory as root of the search.
- SchemaValidationException - Exception in io.github.besi97.graphql.codegen.model.exception
-
Exception that indicates invalid GraphQL schema
- SchemaValidationException(String) - Constructor for exception io.github.besi97.graphql.codegen.model.exception.SchemaValidationException
- SERIALIZATION_LIBRARY - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- serializeCollection(Collection<?>, boolean) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- serializeEnum(Enum<?>) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- serializeMap(Map<?, ?>, boolean) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- serializeMapEntry(Map.Entry<?, ?>, boolean) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
- setAddGeneratedAnnotation(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setAnnotations(List<String>) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setAnnotations(List<String>) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setApiInterfaceStrategy(ApiInterfaceStrategy) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiNamePrefix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiNamePrefixStrategy(ApiNamePrefixStrategy) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiNameSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiPackageName(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiReturnListType(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiReturnType(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setApiRootInterfaceStrategy(ApiRootInterfaceStrategy) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setColumn(int) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- setConnectionType(String) - Method in class io.github.besi97.graphql.codegen.model.RelayConfig
- setCustomAnnotationsMapping(Map<String, List<String>>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setCustomTemplates(Map<String, String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setCustomTemplatesRoot(File) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setCustomTypesMapping(Map<String, String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setData(T) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- setDataModelMapperFactory(DataModelMapperFactory) - Method in class io.github.besi97.graphql.codegen.model.MappingContext.Builder
- setDateTimeSupplier(Supplier<ZonedDateTime>) - Method in class io.github.besi97.graphql.codegen.model.GeneratedInformation
- setDefaultValue(String) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setDefinition(T) - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- setDefinitionInParentType(ParameterDefinition) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setDeprecated(DeprecatedDefinition) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setDeprecated(DeprecatedDefinition) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setDeprecated(DeprecatedDefinition) - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- setDirectiveAnnotationsMapping(Map<String, List<String>>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setDirectiveArgumentName(String) - Method in class io.github.besi97.graphql.codegen.model.RelayConfig
- setDirectiveName(String) - Method in class io.github.besi97.graphql.codegen.model.RelayConfig
- setDocument(ExtendedDocument) - Method in class io.github.besi97.graphql.codegen.model.MappingContext.Builder
- setErrors(List<GraphQLError>) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResult
- setErrorType(GraphQLErrorType) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- setExcludedFiles(Set<String>) - Method in class io.github.besi97.graphql.codegen.supplier.SchemaFinder
-
Sets a set of paths to exclude from the search even if they match the include pattern.
- setExtensions(List<E>) - Method in class io.github.besi97.graphql.codegen.model.definitions.ExtendedDefinition
- setExtensions(Map<String, Object>) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- setFieldsToExcludeFromGeneration(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setFieldsWithDataFetcherResult(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setFieldsWithoutResolvers(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setFieldsWithResolvers(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateAllMethodInProjection(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateApis(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateApisWithSuspendFunctions(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateApisWithThrowsException(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateBuilder(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateClient(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGeneratedAnnotation(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateDataFetchingEnvironmentArgumentInApis(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGeneratedInformation(GeneratedInformation) - Method in class io.github.besi97.graphql.codegen.model.MappingContext.Builder
- setGeneratedLanguage(GeneratedLanguage) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateEqualsAndHashCode(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateExtensionFieldsResolvers(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateImmutableModels(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateJacksonTypeIdResolver(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateModelOpenClasses(boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateModelsForRootTypes(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateModelsWithPublicFields(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateNoArgsConstructorOnly(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateParameterizedFieldsResolvers(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateSealedInterfaces(boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGenerateToString(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setGetterMethodName(String) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setGraphqlTypeName(String) - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- setIncludePattern(String) - Method in class io.github.besi97.graphql.codegen.supplier.SchemaFinder
-
Sets the pattern that filenames should match to be included in the result.
- setInitializeNullableTypes(boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setInputParameters(List<ParameterDefinition>) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setInterfaceOrUnion(boolean) - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- setJavaDoc(List<String>) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setJavaDoc(List<String>) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setJavaName(String) - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- setLine(int) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- setLocations(List<GraphQLErrorSourceLocation>) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- setMandatory(boolean) - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- setMandatory(boolean) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setMappingConfig(MappingConfig) - Method in class io.github.besi97.graphql.codegen.model.MappingContext.Builder
- setMessage(String) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- setMethodName(String) - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- setModelNamePrefix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setModelNameSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setModelPackageName(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setModelValidationAnnotation(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setMutationResolverParentInterface(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setName(String) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setName(String) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setName(String) - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- setOriginalName(String) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setOriginalName(String) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setOutputDirectory(File) - Method in class io.github.besi97.graphql.codegen.model.MappingContext.Builder
- setPackageName(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setParameters(List<ParameterDefinition>) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setParametrizedInputClassName(String) - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- setParametrizedInputSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setParametrizedResolverAnnotations(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setPath(List<Object>) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLError
- setPrimitiveCanBeUsed(boolean) - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- setQueryResolverParentInterface(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setRecursive(boolean) - Method in class io.github.besi97.graphql.codegen.supplier.SchemaFinder
-
Sets whether this finder should recursively search in nested directories.
- setRelayConfig(RelayConfig) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setRequestSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setResolverArgumentAnnotations(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setResolverParentInterface(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setResponseProjectionMaxDepth(Integer) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setResponseProjectionSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setResponseSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setSerializeUsingObjectMapper(boolean) - Method in class io.github.besi97.graphql.codegen.model.NamedDefinition
- setSerializeUsingObjectMapper(boolean) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setSourceName(String) - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
- setSubscriptionResolverParentInterface(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setSubscriptionReturnType(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setSupportUnknownFields(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setSuspend(boolean) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setThrowsException(boolean) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setType(String) - Method in class io.github.besi97.graphql.codegen.model.OperationDefinition
- setType(String) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- setType(String) - Method in class io.github.besi97.graphql.codegen.model.ProjectionParameterDefinition
- setTypeResolverPrefix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setTypeResolverSuffix(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setTypesAsInterfaces(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setUnknownFieldsPropertyName(String) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setUseObjectMapperForRequestSerialization(Set<String>) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setUseOptionalForNullableReturnTypes(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setUseWrapperForNullableInputTypes(Boolean) - Method in class io.github.besi97.graphql.codegen.model.MappingConfig
- setVisibility(String) - Method in class io.github.besi97.graphql.codegen.model.ParameterDefinition
- SINGLE_INTERFACE - Enum constant in enum class io.github.besi97.graphql.codegen.model.ApiRootInterfaceStrategy
-
Generate a single QueryResolver.java, MutationResolver.java, SubscriptionResolver.java for all graphqls (in addition to separate interfaces for each query/mutation/subscription)
- stringsEqualIgnoreSpaces(String, String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Check if strings are equal (consider blank strings equal to null)
- SUBSCRIPTION - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLOperation
- substringBetween(String, String, String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Copy of org.apache.commons.lang3.StringUtils#substringBetween(String, String, String)
- SUPPORT_UNKNOWN_FIELDS - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
T
- TO_STRING - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- TO_STRING_FOR_REQUEST - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- toHttpJsonBody() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
-
Serializes GraphQL request to be used as HTTP JSON body according to https://graphql.org/learn/serving-over-http specifications
- toHttpJsonBody() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequests
-
Serializes multiple GraphQL requests to be used as HTTP JSON body according to https://graphql.org/learn/serving-over-http specifications
- toHttpJsonBody(GraphQLRequest) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
-
Serializes GraphQL request to be used as HTTP JSON body according to https://graphql.org/learn/serving-over-http specifications
- toHttpJsonBody(GraphQLRequests) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
-
Serializes GraphQL requests to be used as HTTP JSON body according to https://graphql.org/learn/serving-over-http specifications
- toQueryString() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequest
-
Serializes GraphQL request as raw query string
- toQueryString(GraphQLRequest) - Static method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLRequestSerializer
-
Serializes GraphQL request as raw query string
- toString() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseField
- toString() - Method in class io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection
- toString() - Method in class io.github.besi97.graphql.codegen.model.graphql.Pair
- TYPE - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- TYPE_NAME_PLACEHOLDER - Static variable in class io.github.besi97.graphql.codegen.model.MappingConfigConstants
- TypeDefinitionToDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map type definition to a Freemarker data model
- TypeDefinitionToDataModelMapper(MapperFactory, FieldDefinitionToParameterMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.TypeDefinitionToDataModelMapper
- TypeGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for types
- TypeGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.TypeGenerator
U
- UnableToBuildJsonQueryException - Exception in io.github.besi97.graphql.codegen.model.graphql
-
Exception is thrown when it is unable to serialize GraphQL request to a string
- UnableToBuildJsonQueryException(Exception) - Constructor for exception io.github.besi97.graphql.codegen.model.graphql.UnableToBuildJsonQueryException
- UnableToCreateDirectoryException - Exception in io.github.besi97.graphql.codegen.model.exception
-
Exception that indicates error while creating directory
- UnableToCreateDirectoryException(String, Exception) - Constructor for exception io.github.besi97.graphql.codegen.model.exception.UnableToCreateDirectoryException
- UnableToCreateFileException - Exception in io.github.besi97.graphql.codegen.model.exception
-
Exception that indicates error while creating a file
- UnableToCreateFileException(Exception) - Constructor for exception io.github.besi97.graphql.codegen.model.exception.UnableToCreateFileException
- UnableToDeleteDirectoryException - Exception in io.github.besi97.graphql.codegen.model.exception
-
Exception that indicates error while deleting directory
- UnableToDeleteDirectoryException(Exception) - Constructor for exception io.github.besi97.graphql.codegen.model.exception.UnableToDeleteDirectoryException
- UnableToLoadFreeMarkerTemplateException - Exception in io.github.besi97.graphql.codegen.model.exception
-
Exception that indicates error while loading Apache FreeMarker template
- UnableToLoadFreeMarkerTemplateException(Throwable) - Constructor for exception io.github.besi97.graphql.codegen.model.exception.UnableToLoadFreeMarkerTemplateException
- unCapitalize(String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Un-capitalize a string.
- UNION - Enum constant in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
- UnionDefinitionToDataModelMapper - Class in io.github.besi97.graphql.codegen.mapper
-
Map union definition to a Freemarker data model
- UnionDefinitionToDataModelMapper(MapperFactory) - Constructor for class io.github.besi97.graphql.codegen.mapper.UnionDefinitionToDataModelMapper
- UnionGenerator - Class in io.github.besi97.graphql.codegen.generators.impl
-
Generates files for unions
- UnionGenerator(MappingContext, DataModelMapperFactory) - Constructor for class io.github.besi97.graphql.codegen.generators.impl.UnionGenerator
- UNKNOWN_FIELDS_PROPERTY_NAME - Static variable in class io.github.besi97.graphql.codegen.model.DataModelFields
- UnknownFieldsSupport - Interface in io.github.besi97.graphql.codegen.mapper
-
Utility interface that provides convenience methods to handle unknown fields during the marshaling and unmarshalling of a JSON document
- Utils - Class in io.github.besi97.graphql.codegen.utils
-
Various utilities
V
- validate() - Method in class io.github.besi97.graphql.codegen.GraphQLCodegenValidate
- validate(MappingConfig) - Static method in class io.github.besi97.graphql.codegen.model.MappingConfigValidator
-
Validator of the mapping config
- ValidationError - Enum constant in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
- ValueFormatter - Interface in io.github.besi97.graphql.codegen.mapper
-
As per https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.6.1 following n
- ValueMapper - Class in io.github.besi97.graphql.codegen.mapper
-
A class for mapping GraphQL value to a java value
- ValueMapper(ValueFormatter, DataModelMapper) - Constructor for class io.github.besi97.graphql.codegen.mapper.ValueMapper
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.model.ApiInterfaceStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.model.ApiNamePrefixStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.model.ApiRootInterfaceStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.model.GeneratedLanguage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLOperation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.besi97.graphql.codegen.model.ApiInterfaceStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.besi97.graphql.codegen.model.ApiNamePrefixStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.besi97.graphql.codegen.model.ApiRootInterfaceStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.besi97.graphql.codegen.model.GeneratedLanguage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.besi97.graphql.codegen.model.graphql.GraphQLOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wrapApiDefaultValueIfRequired(MappingContext, NamedDefinition, InputValueDefinition, String, String) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- wrapApiDefaultValueIfRequired(MappingContext, NamedDefinition, InputValueDefinition, String, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- wrapApiDefaultValueIfRequired(MappingContext, NamedDefinition, InputValueDefinition, String, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Wraps type into ArgumentValue, if required.
- wrapApiInputTypeIfRequired(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- wrapApiInputTypeIfRequired(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- wrapApiInputTypeIfRequired(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Wraps type into ArgumentValue, if required.
- wrapApiReturnTypeIfRequired(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
-
Wrap return type of the API interface with generics and/or Optional and/or apiReturnType (as specified in the mapping configuration)
- wrapApiReturnTypeIfRequired(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- wrapApiReturnTypeIfRequired(MappingContext, NamedDefinition, String) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Wraps type into apiReturnType or subscriptionReturnType (defined in the mapping configuration).
- wrapIntoList(MappingContext, String, boolean) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- wrapIntoList(MappingContext, String, boolean) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- wrapIntoList(MappingContext, String, boolean) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Wrap language-specific type (java/kotlin/etc) into
List. - wrapString(String, String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Wrap string
- wrapString(String, String, String) - Static method in class io.github.besi97.graphql.codegen.utils.Utils
-
Wrap string
- wrapSuperTypeIntoList(MappingContext, String, boolean) - Method in class io.github.besi97.graphql.codegen.java.JavaGraphQLTypeMapper
- wrapSuperTypeIntoList(MappingContext, String, boolean) - Method in class io.github.besi97.graphql.codegen.kotlin.KotlinGraphQLTypeMapper
- wrapSuperTypeIntoList(MappingContext, String, boolean) - Method in class io.github.besi97.graphql.codegen.mapper.GraphQLTypeMapper
-
Return upper bounded wildcard for the given interface type:
"Foo"becomes"List<? extends Foo>".
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form