Class GraphQLConfigurationTestHelper

java.lang.Object
com.graphql_java_generator.plugin.test.helper.GraphQLConfigurationTestHelper
All Implemented Interfaces:
com.graphql_java_generator.plugin.conf.CommonConfiguration, com.graphql_java_generator.plugin.conf.GenerateClientCodeConfiguration, com.graphql_java_generator.plugin.conf.GenerateCodeCommonConfiguration, com.graphql_java_generator.plugin.conf.GenerateServerCodeConfiguration, com.graphql_java_generator.plugin.conf.GraphQLConfiguration

public class GraphQLConfigurationTestHelper extends Object implements com.graphql_java_generator.plugin.conf.GraphQLConfiguration
Author:
etienne-sf
  • Field Details

    • logger

      public org.slf4j.Logger logger
    • addRelayConnections

      public boolean addRelayConnections
    • copyRuntimeSources

      public boolean copyRuntimeSources
    • customScalars

      public List<com.graphql_java_generator.plugin.conf.CustomScalarDefinition> customScalars
    • generateBatchLoaderEnvironment

      public boolean generateBatchLoaderEnvironment
    • generateDataLoaderForLists

      public boolean generateDataLoaderForLists
    • generateDeprecatedRequestResponse

      public boolean generateDeprecatedRequestResponse
    • generateJPAAnnotation

      public boolean generateJPAAnnotation
    • generateUtilityClasses

      public boolean generateUtilityClasses
    • javaTypeForIDType

      public String javaTypeForIDType
    • mode

      public com.graphql_java_generator.plugin.conf.PluginMode mode
    • packageName

      public String packageName
    • packaging

      public com.graphql_java_generator.plugin.conf.Packaging packaging
    • projectDir

      public File projectDir
    • queryMutationExecutionProtocol

      public com.graphql_java_generator.plugin.conf.QueryMutationExecutionProtocol queryMutationExecutionProtocol
    • scanBasePackages

      public String scanBasePackages
    • schemaFileFolder

      public File schemaFileFolder
    • schemaFilePattern

      public String schemaFilePattern
    • schemaPersonalizationFile

      public File schemaPersonalizationFile
    • separateUtilityClasses

      public boolean separateUtilityClasses
    • skipGenerationIfSchemaHasNotChanged

      public boolean skipGenerationIfSchemaHasNotChanged
    • sourceEncoding

      public String sourceEncoding
    • springBeanSuffix

      public String springBeanSuffix
    • targetClassFolder

      public File targetClassFolder
    • targetResourceFolder

      public File targetResourceFolder
    • targetSourceFolder

      public File targetSourceFolder
    • templates

      public Map<String,String> templates
    • useJakartaEE9

      public boolean useJakartaEE9
    • typePrefix

      public String typePrefix
    • typeSuffix

      public String typeSuffix
    • unionPrefix

      public String unionPrefix
    • unionSuffix

      public String unionSuffix
    • enumPrefix

      public String enumPrefix
    • enumSuffix

      public String enumSuffix
    • interfacePrefix

      public String interfacePrefix
    • interfaceSuffix

      public String interfaceSuffix
    • inputPrefix

      public String inputPrefix
    • inputSuffix

      public String inputSuffix
  • Constructor Details

    • GraphQLConfigurationTestHelper

      public GraphQLConfigurationTestHelper(Object caller)
      Parameters:
      caller - Used to retrieve the appropriate Log4j logger
  • Method Details

    • isGenerateJacksonAnnotations

      public boolean isGenerateJacksonAnnotations()
      Specified by:
      isGenerateJacksonAnnotations in interface com.graphql_java_generator.plugin.conf.CommonConfiguration
      Specified by:
      isGenerateJacksonAnnotations in interface com.graphql_java_generator.plugin.conf.GenerateClientCodeConfiguration
      Specified by:
      isGenerateJacksonAnnotations in interface com.graphql_java_generator.plugin.conf.GenerateServerCodeConfiguration
      Specified by:
      isGenerateJacksonAnnotations in interface com.graphql_java_generator.plugin.conf.GraphQLConfiguration
    • setGenerateJacksonAnnotations

      public void setGenerateJacksonAnnotations(boolean generateJacksonAnnotations)