- generate() - Method in class com.kobylynskyi.graphql.codegen.GraphQLCodegen
-
- generateResolversForField(MappingConfig, ExtendedFieldDefinition, 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
-
- getApiPackageName() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Java package for generated api classes (Query, Mutation, Subscription).
- getCustomAnnotationsMapping() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Can be used to supply custom annotations (serializers) for scalars.
- getCustomTypesMapping() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Can be used to supply custom mappings for scalars.
- getFieldDefinitions() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedInterfaceTypeDefinition
-
- getFieldDefinitions() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedObjectTypeDefinition
-
- getFieldsWithoutResolvers() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that DO NOT require Resolvers should be defined here in format: TypeName.fieldName
If just type is specified, then all fields of this type will NOT have resolvers
Can be used in conjunction with "generateExtensionFieldsResolvers"
- getFieldsWithResolvers() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Fields that require Resolvers should be defined here in format: TypeName.fieldName
If just type is specified, then all fields of this type will have resolvers
- getFileContent(String) - Static method in class com.kobylynskyi.graphql.codegen.utils.Utils
-
Get content of the file.
- getGenerateApis() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether api classes should be generated.
- getGenerateAsyncApi() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
If true, then wrap type into `java.util.concurrent.CompletableFuture` or `subscriptionReturnType`
- getGenerateBuilder() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should have builder.
- getGenerateDataFetchingEnvironmentArgumentInApis() - Method in interface com.kobylynskyi.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.
- getGenerateEqualsAndHashCode() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should have equals and hashCode methods defined.
- getGenerateExtensionFieldsResolvers() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Whether all fields in extensions (extend type
and extend interface
) should be present
in Resolver interface instead of the type class itself.
- getGenerateParameterizedFieldsResolvers() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
If true, then generate separate `Resolver` interface for parametrized fields.
- getGenerateRequests() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether client-side classes should be generated for each query, mutation and subscription.
- getGenerateToString() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Specifies whether generated model classes should have toString method defined.
- getImplements() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedObjectTypeDefinition
-
- getInput() - Method in interface com.kobylynskyi.graphql.codegen.model.graphql.GraphQLOperationRequest
-
Input for for GraphQL operation.
- getJavaDoc() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedDefinition
-
- getJavaDoc() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedFieldDefinition
-
- getModelNamePrefix() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the prefix for GraphQL model classes (type, input, interface, enum, union).
- getModelNameSuffix() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Sets the suffix for GraphQL model classes (type, input, interface, enum, union).
- getModelPackageName() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Java package for generated model classes (type, input, interface, enum, union).
- getModelValidationAnnotation() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Annotation for mandatory (NonNull) fields.
- getName() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedDefinition
-
- 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.
- getPackageName() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Java package for generated classes.
- getRequest() - Method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
-
- getRequestSuffix() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
The suffix for `Request` classes.
- getResponseProjection() - Method in class com.kobylynskyi.graphql.codegen.model.graphql.GraphQLRequest
-
- getResponseProjectionSuffix() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
The suffix for `ResponseProjection` classes.
- getSubscriptionReturnType() - Method in interface com.kobylynskyi.graphql.codegen.model.GraphQLCodegenConfiguration
-
Return type for subscription methods.
- getTypeNames() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedDocument
-
- getValueDefinitions() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedEnumTypeDefinition
-
Get enum value definitions from the definition and its extensions
- getValueDefinitions() - Method in class com.kobylynskyi.graphql.codegen.model.definitions.ExtendedInputObjectTypeDefinition
-
- 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
-
- GraphQLCodegenConfiguration - Interface in com.kobylynskyi.graphql.codegen.model
-
Defines all properties that should be parsed in the plugin.
- GraphQLCodegenValidate - Class in com.kobylynskyi.graphql.codegen
-
Validator of GraphQL schemas
- GraphQLCodegenValidate() - Constructor for class com.kobylynskyi.graphql.codegen.GraphQLCodegenValidate
-
- 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
-