Index

A C D F G I J L M N O P Q R S T V 
All Classes All Packages

A

addImport(Set<String>, String, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Adds, if necessary the import calculated from the given parameters, into the given set of imports.

C

com.graphql_java_generator.annotation - package com.graphql_java_generator.annotation
All annotations used by the GraphQL-generator client part
com.graphql_java_generator.customscalars - package com.graphql_java_generator.customscalars
This package provide "as is" some GraphQLScalarTypes.
com.graphql_java_generator.exception - package com.graphql_java_generator.exception
 
com.graphql_java_generator.util - package com.graphql_java_generator.util
 
concatStreams(Class<T>, boolean, T, T, T, List<? extends T>...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Concatenate a non limited number of lists into a stream.
CustomScalar - Class in com.graphql_java_generator.customscalars
This class represents a custom scalar, with all the information to allow proper execution of the generated code
CustomScalar(GraphQLScalarType, Class<?>) - Constructor for class com.graphql_java_generator.customscalars.CustomScalar
 
CustomScalarRegistry - Interface in com.graphql_java_generator.customscalars
Registry for all GraphQLScalarType available.

D

Date - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
Custom Scalar for Date management.
DateTime - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
Custom Scalar for DateTime management.

F

fieldName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The name of the field's attribute, as defined in the GraphQL schema.
fieldName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The name of the field's attribute, as defined in the GraphQL schema.

G

getArgument(Object, String, String, Class<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
This method returns a GraphQL argument into the relevant Java object, within a data fetcher, from what has been parsed by the graphql-java engine from the incoming JSON request
getCamelCase(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Convert the given name, to a camel case name.
getClassSimpleName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Extract the simple name for a class (without the package name), from its full class name (with the package name)
getCustomScalar(String) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getDeclaredField(Class<?>, String, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns a Field from the given class.
getFieldType(Class<?>, String, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the class of the fieldName field of the owningClass class.
getGetter(Class<?>, Field) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the getter for the given field on the given field
getGraphQLCustomScalarType(String) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getGraphQLScalarType() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getGraphQLTypeName() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getJavaName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns a valid java identifier for the given name.
getLastModified(File, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the maximum or minimum value for the lastModified of the given file, or of all the files (not folders) contained into this folder.
getMethod(String, Class<?>, Class<?>...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the asked method, from its name, class and parameters.
getPackageName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Extract the package name for a class, from its full class name (with the package name)
getPascalCase(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Convert the given name, which is supposed to be in camel case (for instance: thisIsCamelCase) to a pascal case string (for instance: ThisIsCamelCase).
getQuotedScanBasePackages(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
 
getRuntimeVersion() - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the version of the runtime, that is used to check that the runtime's version is the same as the Maven or Gradle plugin's version.
getSetter(Class<T>, Field) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the setter for the given field on the given field
getValueAsString(Value<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the given value, as string, as it can be written into the GraphQLDirective.parameterValues() of the GraphQLDirective java annotation.
A str string default value will be returned as "str",a JEDI enum value will be returned as "JEDI", an object will be returned as "{name:\"specific name\",appearsIn:[NEWHOPE,EMPIRE],type:\"Human\"}"...
getValueAsText(Value<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the given value, as text, as it can be written into a generated GraphQL schema.
A str string default value will be returned as "str",a JEDI enum value will be returned as JEDI, ...
getValueClazz() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
GraphQLBase64String - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeBase64String
 
GraphQLDirective - Annotation Type in com.graphql_java_generator.annotation
This annotation contains the information for a directive that was applied to a GraphQL item in the GraphQL schema used to generate the code.
GraphQLDirectives - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLEnumType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLIgnore - Annotation Type in com.graphql_java_generator.annotation
This annotation marke the type, field or method as a non GraphQL one.
GraphQLInputParameters - Annotation Type in com.graphql_java_generator.annotation
This class indicates that this field has at least one input parameter.
GraphQLInputType - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all generated classes that are generated to match a GraphQL input type, as defined in the GraphQL schema.
GraphQLInterfaceType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLInternalErrorException - Exception in com.graphql_java_generator.exception
Thrown when an internal error of the GraphQL generator occurs
GraphQLInternalErrorException(String) - Constructor for exception com.graphql_java_generator.exception.GraphQLInternalErrorException
 
GraphQLInternalErrorException(String, Throwable) - Constructor for exception com.graphql_java_generator.exception.GraphQLInternalErrorException
 
GraphQLNonScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are non scalar.
GraphQLObjectType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLQuery - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all generated classes that are queries/mutations/subscription, as defined in the GraphQL schema.
GraphQLRequestPreparationException - Exception in com.graphql_java_generator.exception
Thrown when an error occurs during the request preparation.
GraphQLRequestPreparationException(String) - Constructor for exception com.graphql_java_generator.exception.GraphQLRequestPreparationException
 
GraphQLRequestPreparationException(String, Throwable) - Constructor for exception com.graphql_java_generator.exception.GraphQLRequestPreparationException
 
GraphQLScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are standard GraphQL scalar.
GraphQLScalarTypeBase64String - Class in com.graphql_java_generator.customscalars
 
GraphQLScalarTypeBase64String() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeBase64String
 
GraphQLScalarTypeDate - Class in com.graphql_java_generator.customscalars
A proposed Date scalar, that stores dates in String, formatted as: YYYY-MM-DD
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
GraphQLScalarTypeDate() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
 
GraphQLScalarTypeDateTime - Class in com.graphql_java_generator.customscalars
A proposed DateTime scalar, that stores dates in String, formatted as: 2019-07-03T20:47:55Z
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
GraphQLScalarTypeDateTime() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
 
GraphQLScalarTypeIDClient - Class in com.graphql_java_generator.customscalars
ID are managed as String, on client side.
GraphQLScalarTypeIDClient() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDClient
 
GraphQLScalarTypeIDServer - Class in com.graphql_java_generator.customscalars
ID are managed as UUID, on server side.
GraphQLScalarTypeIDServer() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer
 
GraphQLScalarTypeString - Class in com.graphql_java_generator.customscalars
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings.
GraphQLScalarTypeString() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeString
 
graphQLTypeSimpleName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The name of the Scalar type, as defined in the GraphQL schema, without indication of list or mandatory.
graphQLTypeSimpleName() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The name of the Scalar type, as defined in the GraphQL schema, without indication of list or mandatory.
GraphQLUnionType - Annotation Type in com.graphql_java_generator.annotation
 
graphqlUtils - Static variable in class com.graphql_java_generator.util.GraphqlUtils
This singleton is usable in default method, within interfaces
GraphqlUtils - Class in com.graphql_java_generator.util
 
GraphqlUtils() - Constructor for class com.graphql_java_generator.util.GraphqlUtils
 

I

ID - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDClient
UUID are managed as String, on client side.
ID - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer
UUID are managed as String, on client side.
invokeGetter(Object, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the getter for the given field name, on the given object.
invokeMethod(Method, Object, Object...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the given setter on the given object, with the given value.
invokeMethod(String, Object, Object...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Calls the 'methodName' method on the given object.
invokeSetter(Object, Field, Object) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the setter for the given field, on the given object.
invokeSetter(Object, String, Object) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the setter for the Field of the given name, on the given object.
invokeStaticMethod(String, Class<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Calls the 'methodName' method on the given class.
isJavaReservedWords(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns true if name is a reserved java keyword
itemsMandatory() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), true if this parameter is a list and its items are mandatory (according to GraphQL list's specification), and false otherwise.
iterableConcreteClassToListInterface(Iterable<? extends I>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Iterable (which can be a List) of a concrete class, into a List of the I interface or superclass.
iterableToList(Iterable<I>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Iterable (which can be a List), into a List of items of the same type.

J

JAVA_KEYWORD_PREFIX - Static variable in class com.graphql_java_generator.util.GraphqlUtils
 
javaClass() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
Contains the java data type that is has used to store the data, on both the client and the server side.
javaClass() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
Contains the java data type that is has used to store the data, on both the client and the server side.

L

listDepth() - Method in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The list depth for this field.
listDepth() - Method in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The list depth for this field.
listDepths() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), 0 if this parameter is not a list, and a positive number if this input parameter is a list (2, for instance for [[Int]]).

M

mandatories() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), true if this parameter is mandatory, and false otherwise.
mutation - com.graphql_java_generator.annotation.RequestType
 

N

name() - Method in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The name of the Directive, as defined in the GraphQL schema.
name() - Method in annotation type com.graphql_java_generator.annotation.GraphQLQuery
The name of the query/mutation/subscription, that is represented by the annotated java class, as defined in the GraphQL schema.
names() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains the list of the names for each of the input parameters of this field.

O

optionalToObject(Optional<T>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Optional, as returned by Spring Data repositories, into a standard Java, which is null if there is no value.
orderList(List<?>, List<T>, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Reads a non ordered list, and return the same content sorted according the keys list.

P

parameterNames() - Method in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The list of parameter names for each parameter of this directive applied to the current item.
parameterTypes() - Method in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The list of parameter types for each parameter of this directive applied to the current item.
parameterValues() - Method in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The list of values types for each parameter of this directive applied to the current item, in their string representation.

Q

query - com.graphql_java_generator.annotation.RequestType
 

R

registerGraphQLScalarType(GraphQLScalarType, Class<?>) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Manually register one GraphQLScalarType.
RequestType - Enum in com.graphql_java_generator.annotation
 

S

setGraphQLScalarType(GraphQLScalarType) - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
setValueClazz(Class<?>) - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
String - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeString
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings.
subscription - com.graphql_java_generator.annotation.RequestType
 

T

type() - Method in annotation type com.graphql_java_generator.annotation.GraphQLQuery
The type : query, mutation or subscription, as defined in the GraphQL schema.
types() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains the list of the types for each of the input parameters of this field.

V

value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLDirectives
The directives that were defined in the GraphQL schema for this item
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLEnumType
The name of the enum that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInputType
The name of the type that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLInterfaceType
The name of the interface that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLObjectType
The name of the type that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Method in annotation type com.graphql_java_generator.annotation.GraphQLUnionType
The name of the union that is represented by the annotated java class, as defined in the GraphQL schema.
valueOf(String) - Static method in enum com.graphql_java_generator.annotation.RequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.graphql_java_generator.annotation.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D F G I J L M N O P Q R S T V 
All Classes All Packages