Class AbstractGenerateGraphQLSchemaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.graphql_java_generator.mavenplugin.AbstractCommonMojo
com.graphql_java_generator.mavenplugin.AbstractGenerateGraphQLSchemaMojo
- All Implemented Interfaces:
CommonConfiguration,GenerateGraphQLSchemaConfiguration,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
GenerateGraphQLSchemaMojo
public abstract class AbstractGenerateGraphQLSchemaMojo
extends AbstractCommonMojo
implements GenerateGraphQLSchemaConfiguration
- Author:
- etienne-sf
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectHelperFields inherited from class com.graphql_java_generator.mavenplugin.AbstractCommonMojo
buildContext, ctx, enumPrefix, enumSuffix, inputPrefix, inputSuffix, interfacePrefix, interfaceSuffix, jsonGraphqlSchemaFilename, maxTokens, springConfigurationClass, typePrefix, typeSuffix, unionPrefix, unionSuffixFields 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, DEFAULT_TARGET_SCHEMA_SUBFOLDERFields inherited from interface com.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
DEFAULT_RESOURCE_ENCODING, DEFAULT_TARGET_FOLDER, DEFAULT_TARGET_SCHEMA_FILE_NAMEFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanMethods inherited from class com.graphql_java_generator.mavenplugin.AbstractCommonMojo
execute, getEnumPrefix, getEnumSuffix, getInputPrefix, getInputSuffix, getInterfacePrefix, getInterfaceSuffix, getJsonGraphqlSchemaFilename, getMaxTokens, getProjectBuildDir, getProjectDir, getProjectMainSourceFolder, getTargetSchemaSubFolder, getTypePrefix, getTypeSuffix, getUnionPrefix, getUnionSuffix, isSkipGenerationIfSchemaHasNotChangedMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods 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, getJsonGraphqlSchemaFilename, getMaxTokens, getProjectBuildDir, getProjectDir, getProjectMainSourceFolder, getTargetSchemaSubFolder, getTypePrefix, getTypeSuffix, getUnionPrefix, getUnionSuffix, isGenerateJacksonAnnotations, isSkipGenerationIfSchemaHasNotChanged, logCommonConfigurationMethods inherited from interface com.graphql_java_generator.plugin.conf.GenerateGraphQLSchemaConfiguration
logConfiguration
-
Field Details
-
projectHelper
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
-
-
Method Details
-
getSchemaFileFolder
- Specified by:
getSchemaFileFolderin interfaceCommonConfiguration- Overrides:
getSchemaFileFolderin classAbstractCommonMojo
-
getSchemaFilePattern
- Specified by:
getSchemaFilePatternin interfaceCommonConfiguration- Overrides:
getSchemaFilePatternin classAbstractCommonMojo
-
getResourceEncoding
- Specified by:
getResourceEncodingin interfaceGenerateGraphQLSchemaConfiguration
-
getTargetFolder
- Specified by:
getTargetFolderin interfaceGenerateGraphQLSchemaConfiguration
-
getTargetSchemaFileName
- Specified by:
getTargetSchemaFileNamein interfaceGenerateGraphQLSchemaConfiguration
-
getTemplates
- Specified by:
getTemplatesin interfaceCommonConfiguration- Overrides:
getTemplatesin classAbstractCommonMojo
-
isAddRelayConnections
public boolean isAddRelayConnections()- Specified by:
isAddRelayConnectionsin interfaceCommonConfiguration
-
executePostExecutionTask
- Overrides:
executePostExecutionTaskin classAbstractCommonMojo- Throws:
IOException
-