Class GenerateGraphQLSchemaExtension
java.lang.Object
com.graphql_java_generator.gradleplugin.CommonExtension
com.graphql_java_generator.gradleplugin.GenerateGraphQLSchemaExtension
- All Implemented Interfaces:
com.graphql_java_generator.plugin.conf.CommonConfiguration,com.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration,Serializable
public class GenerateGraphQLSchemaExtension
extends CommonExtension
implements com.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration, Serializable
Parameters for the GraphQL Gradle plugin.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe folder where the generated resources will be generatedFields 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_PREFIX, DEFAULT_SCHEMA_FILE_FOLDER, DEFAULT_SCHEMA_FILE_PATTERN, DEFAULT_SCHEMA_SUB_FOLDER, DEFAULT_SKIP_GENERATION_IF_SCHEMA_HAS_NOT_CHANGED, DEFAULT_SUFFIXFields inherited from interface com.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
DEFAULT_RESOURCE_ENCODING, DEFAULT_TARGET_FOLDER, DEFAULT_TARGET_SCHEMA_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetResourceEncoding(String resourceEncoding) voidsetTargetFolder(String targetFolder) voidsetTargetSchemaFileName(String targetSchemaFileName) Methods inherited from class com.graphql_java_generator.gradleplugin.CommonExtension
getEnumPrefix, getEnumSuffix, getInputPrefix, getInputSuffix, getInterfacePrefix, getInterfaceSuffix, getMaxTokens, getProjectDir, getSchemaFileFolder, getSchemaFilePattern, getTemplates, getTypePrefix, getTypeSuffix, getUnionPrefix, getUnionSuffix, isAddRelayConnections, isInitialized, isSkipGenerationIfSchemaHasNotChanged, logConfiguration, setAddRelayConnections, setEnumPrefix, setEnumSuffix, setInitialized, setInputPrefix, setInputSuffix, setInterfacePrefix, setInterfaceSuffix, setMaxTokens, setSchemaFileFolder, setSchemaFilePattern, setSkipGenerationIfSchemaHasNotChanged, setTemplates, setTypePrefix, setTypeSuffix, setUnionPrefix, setUnionSuffixMethods 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, getEnumPrefix, getEnumSuffix, getInputPrefix, getInputSuffix, getInterfacePrefix, getInterfaceSuffix, getMaxTokens, getProjectDir, getSchemaFileFolder, getSchemaFilePattern, getTargetSchemaSubFolder, getTemplates, getTypePrefix, getTypeSuffix, getUnionPrefix, getUnionSuffix, isAddRelayConnections, isGenerateJacksonAnnotations, isSkipGenerationIfSchemaHasNotChanged, logCommonConfigurationMethods inherited from interface com.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
logConfiguration
-
Field Details
-
targetResourceFolder
The folder where the generated resources will be generated
-
-
Constructor Details
-
GenerateGraphQLSchemaExtension
public GenerateGraphQLSchemaExtension(org.gradle.api.Project project)
-
-
Method Details
-
getResourceEncoding
- Specified by:
getResourceEncodingin interfacecom.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
-
setResourceEncoding
-
getTargetFolder
- Specified by:
getTargetFolderin interfacecom.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
-
setTargetFolder
-
getTargetSchemaFileName
- Specified by:
getTargetSchemaFileNamein interfacecom.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
-
setTargetSchemaFileName
-