Class GeneratePojoExtension
java.lang.Object
com.graphql_java_generator.gradleplugin.CommonExtension
com.graphql_java_generator.gradleplugin.GenerateCodeCommonExtension
com.graphql_java_generator.gradleplugin.GenerateServerCodeExtension
com.graphql_java_generator.gradleplugin.GraphQLExtension
com.graphql_java_generator.gradleplugin.GeneratePojoExtension
- 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.GeneratePojoConfiguration,com.graphql_java_generator.plugin.conf.GenerateServerCodeConfiguration,com.graphql_java_generator.plugin.conf.GraphQLConfiguration,java.io.Serializable
public class GeneratePojoExtension extends GraphQLExtension implements com.graphql_java_generator.plugin.conf.GeneratePojoConfiguration, java.io.Serializable
Parameters for the GraphQL Gradle plugin.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.graphql_java_generator.gradleplugin.GenerateServerCodeExtension
javaTypeForIDTypeFields inherited from class com.graphql_java_generator.gradleplugin.GenerateCodeCommonExtension
targetResourceFolder, targetSourceFolderFields inherited from class com.graphql_java_generator.gradleplugin.CommonExtension
project, skipGenerationIfSchemaHasNotChangedFields inherited from interface com.graphql_java_generator.plugin.conf.CommonConfiguration
DEFAULT_ADD_RELAY_CONNECTIONS, DEFAULT_MAX_TOKENS, DEFAULT_PACKAGE_NAME, DEFAULT_SCHEMA_FILE_FOLDER, DEFAULT_SCHEMA_FILE_PATTERN, DEFAULT_SKIP_GENERATION_IF_SCHEMA_HAS_NOT_CHANGEDFields inherited from interface com.graphql_java_generator.plugin.conf.GenerateClientCodeConfiguration
DEFAULT_GENERATE_DEPRECATED_REQUEST_RESPONSEFields inherited from interface com.graphql_java_generator.plugin.conf.GenerateCodeCommonConfiguration
DEFAULT_COPY_RUNTIME_SOURCES, DEFAULT_SEPARATE_UTIL_CLASSES, DEFAULT_SOURCE_ENCODING, DEFAULT_SPRING_BEAN_SUFFIX, DEFAULT_TARGET_RESOURCE_FOLDER, DEFAULT_TARGET_SOURCE_FOLDERFields inherited from interface com.graphql_java_generator.plugin.conf.GeneratePojoConfiguration
DEFAULT_GENERATE_JACKSON_ANNOTATIONSFields inherited from interface com.graphql_java_generator.plugin.conf.GenerateServerCodeConfiguration
DEFAULT_GENERATE_BATCH_LOADER_ENVIRONMENT, DEFAULT_GENERATE_DATA_LOADER_FOR_LISTS, DEFAULT_GENERATE_JPA_ANNOTATION, DEFAULT_JAVA_TYPE_FOR_ID_TYPE, DEFAULT_SCAN_BASE_PACKAGES, DEFAULT_SCHEMA_PERSONALIZATION_FILE -
Constructor Summary
Constructors Constructor Description GeneratePojoExtension(org.gradle.api.Project project) -
Method Summary
Modifier and Type Method Description booleanisGenerateJacksonAnnotations()java.lang.BooleanisGenerateJacksonAnnotations_Raw()voidsetGenerateJacksonAnnotations(boolean generateJacksonAnnotations)Methods inherited from class com.graphql_java_generator.gradleplugin.GraphQLExtension
getMode, isGenerateDeprecatedRequestResponse, setGenerateDeprecatedRequestResponse, setModeMethods inherited from class com.graphql_java_generator.gradleplugin.GenerateServerCodeExtension
getJavaTypeForIDType, getPackaging, getQuotedScanBasePackages, getScanBasePackages, getSchemaPersonalizationFile, isGenerateBatchLoaderEnvironment, isGenerateDataLoaderForLists, isGenerateJPAAnnotation, setGenerateBatchLoaderEnvironment, setGenerateDataLoaderForLists, setGenerateJPAAnnotation, setJavaTypeForIDType, setScanBasePackages, setSchemaPersonalizationFileMethods inherited from class com.graphql_java_generator.gradleplugin.GenerateCodeCommonExtension
getCustomScalars, getPackageName, getSourceEncoding, getSpringBeanSuffix, getTargetClassFolder, getTargetResourceFolder, getTargetSourceFolder, isCopyRuntimeSources, isSeparateUtilityClasses, setCopyRuntimeSources, setCustomScalars, setPackageName, setSeparateUtilityClasses, setSourceEncoding, setSpringBeanSuffix, setTargetResourceFolder, setTargetSourceFolderMethods inherited from class com.graphql_java_generator.gradleplugin.CommonExtension
getMaxTokens, getProjectDir, getSchemaFileFolder, getSchemaFilePattern, getTemplates, isAddRelayConnections, isInitialized, isSkipGenerationIfSchemaHasNotChanged, logConfiguration, setAddRelayConnections, setInitialized, setMaxTokens, setSchemaFileFolder, setSchemaFilePattern, setSkipGenerationIfSchemaHasNotChanged, setTemplatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.graphql_java_generator.plugin.conf.CommonConfiguration
getDefaultTargetSchemaFileName, getMaxTokens, getProjectDir, getSchemaFileFolder, getSchemaFilePattern, getTemplates, isAddRelayConnections, isSkipGenerationIfSchemaHasNotChanged, logCommonConfigurationMethods inherited from interface com.graphql_java_generator.plugin.conf.GenerateClientCodeConfiguration
isGenerateDeprecatedRequestResponseMethods inherited from interface com.graphql_java_generator.plugin.conf.GenerateCodeCommonConfiguration
getCustomScalars, getPackageName, getSourceEncoding, getSpringAutoConfigurationPackage, getSpringBeanSuffix, getTargetClassFolder, getTargetResourceFolder, getTargetSourceFolder, isCopyRuntimeSources, logGenerateCodeCommonConfigurationMethods inherited from interface com.graphql_java_generator.plugin.conf.GeneratePojoConfiguration
getMode, isGenerateUtilityClasses, isSeparateUtilityClassesMethods inherited from interface com.graphql_java_generator.plugin.conf.GenerateServerCodeConfiguration
getJavaTypeForIDType, getPackaging, getQuotedScanBasePackages, getScanBasePackages, getSchemaPersonalizationFile, isGenerateBatchLoaderEnvironment, isGenerateDataLoaderForLists, isGenerateJPAAnnotation, logConfiguration, logGenerateServerCodeConfiguration
-
Constructor Details
-
GeneratePojoExtension
public GeneratePojoExtension(org.gradle.api.Project project)
-
-
Method Details
-
isGenerateJacksonAnnotations
public boolean isGenerateJacksonAnnotations()- Specified by:
isGenerateJacksonAnnotationsin interfacecom.graphql_java_generator.plugin.conf.CommonConfiguration- Specified by:
isGenerateJacksonAnnotationsin interfacecom.graphql_java_generator.plugin.conf.GenerateClientCodeConfiguration- Specified by:
isGenerateJacksonAnnotationsin interfacecom.graphql_java_generator.plugin.conf.GeneratePojoConfiguration- Specified by:
isGenerateJacksonAnnotationsin interfacecom.graphql_java_generator.plugin.conf.GenerateServerCodeConfiguration- Specified by:
isGenerateJacksonAnnotationsin interfacecom.graphql_java_generator.plugin.conf.GraphQLConfiguration
-
isGenerateJacksonAnnotations_Raw
public java.lang.Boolean isGenerateJacksonAnnotations_Raw() -
setGenerateJacksonAnnotations
public void setGenerateJacksonAnnotations(boolean generateJacksonAnnotations)
-