Interface GenerateGraphQLSchemaConfiguration
- All Superinterfaces:
CommonConfiguration
This interface contains the getters for all the plugin parameters for the generate-relay-schema goal (Maven)
or task (Gradle) of the plugin.
- Author:
- etienne-sf
-
Field Summary
Fields inherited from interface com.graphql_java_generator.plugin.conf.CommonConfiguration
DEFAULT_ADD_RELAY_CONNECTIONS, DEFAULT_JSON_GRAPHQL_SCHEMA_FILE, 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_SUFFIX
-
Method Summary
Modifier and TypeMethodDescriptionThe encoding for the generated resource filesThe folder where the generated GraphQL schema will be storedThe name of the target filename, in which the schema is generated.default void
Logs all the configuration parameters, in the debug levelMethods inherited from interface com.graphql_java_generator.plugin.conf.CommonConfiguration
getDefaultTargetSchemaFileName, getEnumPrefix, getEnumSuffix, getInputPrefix, getInputSuffix, getInterfacePrefix, getInterfaceSuffix, getJsonGraphqlSchemaFilename, getMaxTokens, getProjectDir, getSchemaFileFolder, getSchemaFilePattern, getTargetSchemaSubFolder, getTemplates, getTypePrefix, getTypeSuffix, getUnionPrefix, getUnionSuffix, isAddRelayConnections, isGenerateJacksonAnnotations, isSkipGenerationIfSchemaHasNotChanged, logCommonConfiguration
-
Field Details
-
DEFAULT_TARGET_SCHEMA_FILE_NAME
- See Also:
-
DEFAULT_RESOURCE_ENCODING
- See Also:
-
DEFAULT_TARGET_FOLDER
- See Also:
-
-
Method Details
-
getResourceEncoding
String getResourceEncoding()The encoding for the generated resource files -
getTargetFolder
File getTargetFolder()The folder where the generated GraphQL schema will be stored -
getTargetSchemaFileName
String getTargetSchemaFileName()The name of the target filename, in which the schema is generated. This file is stored in the folder, defined in the targetFolder plugin parameter. -
logConfiguration
default void logConfiguration()Logs all the configuration parameters, in the debug level- Specified by:
logConfiguration
in interfaceCommonConfiguration
-