Skip navigation links
B C D E F G H I J M N O P S T U V 

B

BUILDER - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 

C

capitalize(String) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Capitalize a string.
CLASS_NAME - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
com.kobylynskyi.graphql.codegen - package com.kobylynskyi.graphql.codegen
 
com.kobylynskyi.graphql.codegen.mapper - package com.kobylynskyi.graphql.codegen.mapper
 
com.kobylynskyi.graphql.codegen.model - package com.kobylynskyi.graphql.codegen.model
 
com.kobylynskyi.graphql.codegen.model.graphql - package com.kobylynskyi.graphql.codegen.model.graphql
 
com.kobylynskyi.graphql.codegen.supplier - package com.kobylynskyi.graphql.codegen.supplier
 
com.kobylynskyi.graphql.codegen.utils - package com.kobylynskyi.graphql.codegen.utils
 
Combinable<T> - Interface in com.kobylynskyi.graphql.codegen.model
The interface Combinable.
combine(T) - Method in interface com.kobylynskyi.graphql.codegen.model.Combinable
Combine with source.
combine(MappingConfig) - Method in class com.kobylynskyi.graphql.codegen.model.MappingConfig
 
createDirIfAbsent(File) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Create directory if it is absent.

D

DATA_FETCHING_ENVIRONMENT - Static variable in class com.kobylynskyi.graphql.codegen.model.ParameterDefinition
 
DataModelFields - Class in com.kobylynskyi.graphql.codegen.model
Freemarker data model field names
DataModelFields() - Constructor for class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
DEFAULT_BUILDER - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_EQUALS_AND_HASHCODE - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_GENERATE_APIS - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_GENERATE_DATA_FETCHING_ENV - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_GENERATE_PARAMETERIZED_FIELDS_RESOLVERS - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_GENERATE_REQUESTS - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_INCLUDE_PATTERN - Static variable in class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
 
DEFAULT_RECURSIVE - Static variable in class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
 
DEFAULT_REQUEST_SUFFIX - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_RESPONSE_PROJECTION_SUFFIX - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_TO_STRING - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DEFAULT_VALIDATION_ANNOTATION - Static variable in class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DefaultMappingConfigValues - Class in com.kobylynskyi.graphql.codegen.model
 
DefaultMappingConfigValues() - Constructor for class com.kobylynskyi.graphql.codegen.model.DefaultMappingConfigValues
 
DefaultValueMapper - Class in com.kobylynskyi.graphql.codegen.mapper
 
DefaultValueMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.DefaultValueMapper
 
DefinitionTypeDeterminer - Class in com.kobylynskyi.graphql.codegen.model
 
DefinitionTypeDeterminer() - Constructor for class com.kobylynskyi.graphql.codegen.model.DefinitionTypeDeterminer
 
deleteDir(File) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Deletes a given directory recursively.
determine(Definition) - Static method in class com.kobylynskyi.graphql.codegen.model.DefinitionTypeDeterminer
 

E

EnumDefinitionToDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map enum definition to a Freemarker data model
EnumDefinitionToDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.EnumDefinitionToDataModelMapper
 
EQUALS_AND_HASH_CODE - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
escapeJsonString(String) - Static method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequestSerializer
Encodes the value as a JSON string according to http://json.org/ rules

F

FieldDefinitionsToResolverDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map field definitions to a Freemarker data model representing a resolver for these fields.
FieldDefinitionsToResolverDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
 
FieldDefinitionToParameterMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Mapper from GraphQL's FieldDefinition to a Freemarker-understandable format
FieldDefinitionToParameterMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionToParameterMapper
 
FieldDefinitionToRequestDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map field definition to a Request Freemarker data model
FieldDefinitionToRequestDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionToRequestDataModelMapper
 
FieldResolverDefinition - Class in com.kobylynskyi.graphql.codegen.model
Freemarker-understandable format of parametrized field.
FieldResolverDefinition() - Constructor for class com.kobylynskyi.graphql.codegen.model.FieldResolverDefinition
 
FIELDS - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
findSchemas() - Method in class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
Walks the directory tree starting at the root provided in the constructor to find GraphQL schemas.

G

generate() - Method in class com.kobylynskyi.graphql.codegen.GraphqlCodegen
 
generateResolversForField(MappingConfig, FieldDefinition, String) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionToParameterMapper
Check whether FieldResolver should be generated for a given field.
get() - Method in class com.kobylynskyi.graphql.codegen.supplier.JsonMappingConfigSupplier
 
getFileContent(String) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Get content of the file.
getInput() - Method in interface com.kobylynskyi.graphql.codegen.model.graphql.GraphQLOperationRequest
Input for for GraphQL operation.
getOperationName() - Method in interface com.kobylynskyi.graphql.codegen.model.graphql.GraphQLOperationRequest
Name of GraphQL operation.
getOperationType() - Method in interface com.kobylynskyi.graphql.codegen.model.graphql.GraphQLOperationRequest
Type of GraphQL operation.
getRequest() - Method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
 
getResponseProjection() - Method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
 
GraphqlCodegen - Class in com.kobylynskyi.graphql.codegen
Generator of: - Interface for each GraphQL query, mutation, subscription, union and field resolvers - POJO Class for each GraphQL type and input - Enum Class for each GraphQL enum
GraphqlCodegen(List<String>, File, MappingConfig) - Constructor for class com.kobylynskyi.graphql.codegen.GraphqlCodegen
 
GraphqlCodegen(List<String>, File, MappingConfig, MappingConfigSupplier) - Constructor for class com.kobylynskyi.graphql.codegen.GraphqlCodegen
 
GraphqlCodegenValidate - Class in com.kobylynskyi.graphql.codegen
Validator of GraphQL schemas
GraphqlCodegenValidate() - Constructor for class com.kobylynskyi.graphql.codegen.GraphqlCodegenValidate
 
GraphqlDefinitionType - Enum in com.kobylynskyi.graphql.codegen.model
 
GraphQLError - Class in com.kobylynskyi.graphql.codegen.model.graphql
 
GraphQLError() - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLError
 
GraphQLErrorSourceLocation - Class in com.kobylynskyi.graphql.codegen.model.graphql
 
GraphQLErrorSourceLocation() - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLErrorSourceLocation
 
GraphQLErrorType - Enum in com.kobylynskyi.graphql.codegen.model.graphql
 
GraphQLOperation - Enum in com.kobylynskyi.graphql.codegen.model.graphql
 
GraphQLOperationRequest - Interface in com.kobylynskyi.graphql.codegen.model.graphql
The contract for GraphQL request
GraphQLRequest - Class in com.kobylynskyi.graphql.codegen.model.graphql
Class which represents GraphQL Request
GraphQLRequest(GraphQLOperationRequest) - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
 
GraphQLRequest(GraphQLOperationRequest, GraphQLResponseProjection) - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
 
GraphQLRequestSerializer - Class in com.kobylynskyi.graphql.codegen.model.graphql
 
GraphQLRequestSerializer() - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequestSerializer
 
GraphQLResponseProjection - Interface in com.kobylynskyi.graphql.codegen.model.graphql
The implementation class should basically contain the fields of the particular type which should be returned back to the client.
GraphQLResult<T> - Class in com.kobylynskyi.graphql.codegen.model.graphql
GraphQL response.
GraphQLResult() - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLResult
 
GraphQLResult(T, List<GraphQLError>) - Constructor for class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLResult
 

H

hasErrors() - Method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLResult
 

I

IMPLEMENTS - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
IMPORTS - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
InputDefinitionToDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map input type definition to a Freemarker data model
InputDefinitionToDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.InputDefinitionToDataModelMapper
 
InputValueDefinitionToParameterMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Mapper from GraphQL's InputValueDefinition to a Freemarker-understandable format
InputValueDefinitionToParameterMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.InputValueDefinitionToParameterMapper
 
InterfaceDefinitionToDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map interface definition to a Freemarker data model
InterfaceDefinitionToDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.InterfaceDefinitionToDataModelMapper
 
isBlank(CharSequence) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Basically copy of org.apache.commons.lang3.StringUtils.isBlank(CharSequence cs)
isEmpty(Collection<?>) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Check if collection is empty.
isGraphqlOperation(String) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Check whether the given type definition is either Query or Mutation or Subscription.

J

JsonMappingConfigSupplier - Class in com.kobylynskyi.graphql.codegen.supplier
Retrieve a MappingConfig fro json configuration file.
JsonMappingConfigSupplier(String) - Constructor for class com.kobylynskyi.graphql.codegen.supplier.JsonMappingConfigSupplier
Instantiates a new Json configuration file supplier.

M

map(Value<?>, Type<?>) - Static method in class com.kobylynskyi.graphql.codegen.mapper.DefaultValueMapper
 
map(MappingConfig, EnumTypeDefinition) - Static method in class com.kobylynskyi.graphql.codegen.mapper.EnumDefinitionToDataModelMapper
Map field definition to a Freemarker data model
map(MappingConfig, FieldDefinition, String) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionToRequestDataModelMapper
Map field definition to a Request Freemarker data model.
map(MappingConfig, InputObjectTypeDefinition) - Static method in class com.kobylynskyi.graphql.codegen.mapper.InputDefinitionToDataModelMapper
Map input type definition to a Freemarker data model
map(MappingConfig, List<InputValueDefinition>, String) - Static method in class com.kobylynskyi.graphql.codegen.mapper.InputValueDefinitionToParameterMapper
Map input value definition to a Freemarker-understandable data model type
map(MappingConfig, InterfaceTypeDefinition) - Static method in class com.kobylynskyi.graphql.codegen.mapper.InterfaceDefinitionToDataModelMapper
Map interface definition to a Freemarker data model
map(MappingConfig, ObjectTypeDefinition, Document) - Static method in class com.kobylynskyi.graphql.codegen.mapper.TypeDefinitionToDataModelMapper
Map type definition to a Freemarker data model
map(MappingConfig, UnionTypeDefinition) - Static method in class com.kobylynskyi.graphql.codegen.mapper.UnionDefinitionToDataModelMapper
Map union definition to a Freemarker data model
mapFields(MappingConfig, List<FieldDefinition>, String) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionToParameterMapper
Map field definition to a Freemarker-understandable data model type
MapperUtils - Class in com.kobylynskyi.graphql.codegen.mapper
 
MapperUtils() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.MapperUtils
 
MappingConfig - Class in com.kobylynskyi.graphql.codegen.model
The type Mapping config.
MappingConfig() - Constructor for class com.kobylynskyi.graphql.codegen.model.MappingConfig
 
MappingConfigSupplier - Interface in com.kobylynskyi.graphql.codegen.supplier
The interface Mapping config supplier.
mapProjectionFields(MappingConfig, List<FieldDefinition>, String, Set<String>) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionToParameterMapper
Map field definition to a Freemarker-understandable data model type
mapResponseProjection(MappingConfig, ObjectTypeDefinition, Document, Set<String>) - Static method in class com.kobylynskyi.graphql.codegen.mapper.TypeDefinitionToDataModelMapper
Map type definition to a Freemarker data model of Response Projection.
mapRootTypeField(MappingConfig, FieldDefinition, String) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
Map field definition to a Freemarker data model
mapRootTypeFields(MappingConfig, ObjectTypeDefinition) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
Map a root object type definition to a Freemarker data model for a resolver with all its fields.
mapToTypeResolver(MappingConfig, List<FieldDefinition>, String) - Static method in class com.kobylynskyi.graphql.codegen.mapper.FieldDefinitionsToResolverDataModelMapper
Map field definition to a Freemarker data model

N

NAME - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 

O

OPERATION_NAME - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
OPERATION_TYPE - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
OperationDefinition - Class in com.kobylynskyi.graphql.codegen.model
Freemarker-understandable format of operation (Query/Mutation/Subscription)
OperationDefinition() - Constructor for class com.kobylynskyi.graphql.codegen.model.OperationDefinition
 
OPERATIONS - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 

P

PACKAGE - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
ParameterDefinition - Class in com.kobylynskyi.graphql.codegen.model
Freemarker-understandable format of method parameter and field definition
ParameterDefinition() - Constructor for class com.kobylynskyi.graphql.codegen.model.ParameterDefinition
 
ProjectionParameterDefinition - Class in com.kobylynskyi.graphql.codegen.model
Freemarker-understandable format of parameter user in ResponseProjection
ProjectionParameterDefinition() - Constructor for class com.kobylynskyi.graphql.codegen.model.ProjectionParameterDefinition
 
putCustomTypeMappingIfAbsent(String, String) - Method in class com.kobylynskyi.graphql.codegen.model.MappingConfig
Put custom type mapping if absent.

S

SchemaFinder - Class in com.kobylynskyi.graphql.codegen.supplier
Walks a directory tree to find GraphQL schema files.
SchemaFinder(Path) - Constructor for class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
Creates a new SchemaFinder with the given directory as root of the search.
SchemaValidationException - Exception in com.kobylynskyi.graphql.codegen.model
Exception that indicates invalid GraphQL schema
SchemaValidationException(String) - Constructor for exception com.kobylynskyi.graphql.codegen.model.SchemaValidationException
 
serialize(GraphQLRequest) - Static method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequestSerializer
 
setExcludedFiles(Set<String>) - Method in class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
Sets a set of paths to exclude from the search even if they match the include pattern.
setIncludePattern(String) - Method in class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
Sets the pattern that filenames should match to be included in the result.
setRecursive(boolean) - Method in class com.kobylynskyi.graphql.codegen.supplier.SchemaFinder
Sets whether this finder should recursively search in nested directories.

T

TO_STRING - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
TO_STRING_ESCAPE_JSON - Static variable in class com.kobylynskyi.graphql.codegen.model.DataModelFields
 
toString() - Method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
 
TypeDefinitionToDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map type definition to a Freemarker data model
TypeDefinitionToDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.TypeDefinitionToDataModelMapper
 

U

UnableToBuildJsonQueryException - Exception in com.kobylynskyi.graphql.codegen.model.graphql
 
UnableToBuildJsonQueryException(Exception) - Constructor for exception com.kobylynskyi.graphql.codegen.model.graphql.UnableToBuildJsonQueryException
 
UnableToLoadFreeMarkerTemplateException - Exception in com.kobylynskyi.graphql.codegen.model
Exception that indicates error while loading Apache FreeMarker template
UnableToLoadFreeMarkerTemplateException(Throwable) - Constructor for exception com.kobylynskyi.graphql.codegen.model.UnableToLoadFreeMarkerTemplateException
 
uncapitalize(String) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
Uncapitalize a string.
UnionDefinitionToDataModelMapper - Class in com.kobylynskyi.graphql.codegen.mapper
Map union definition to a Freemarker data model
UnionDefinitionToDataModelMapper() - Constructor for class com.kobylynskyi.graphql.codegen.mapper.UnionDefinitionToDataModelMapper
 
UnsupportedGraphqlDefinitionException - Exception in com.kobylynskyi.graphql.codegen.model
Exception that indicates unknown/unsupported GraphQL definition
UnsupportedGraphqlDefinitionException(Definition) - Constructor for exception com.kobylynskyi.graphql.codegen.model.UnsupportedGraphqlDefinitionException
 
Utils - Class in com.kobylynskyi.graphql.codegen.utils
Various utilities

V

validate() - Method in class com.kobylynskyi.graphql.codegen.GraphqlCodegenValidate
 
valueOf(String) - Static method in enum com.kobylynskyi.graphql.codegen.model.graphql.GraphQLErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kobylynskyi.graphql.codegen.model.graphql.GraphQLOperation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kobylynskyi.graphql.codegen.model.GraphqlDefinitionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.kobylynskyi.graphql.codegen.model.graphql.GraphQLErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kobylynskyi.graphql.codegen.model.graphql.GraphQLOperation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kobylynskyi.graphql.codegen.model.GraphqlDefinitionType
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E F G H I J M N O P S T U V 
Skip navigation links