Class AbstractGraphQLMojo

All Implemented Interfaces:
CommonConfiguration, GenerateClientCodeConfiguration, GenerateCodeCommonConfiguration, GenerateServerCodeConfiguration, GraphQLConfiguration, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractGeneratePojoMojo, GraphQLMojo

public abstract class AbstractGraphQLMojo extends AbstractGenerateServerCodeMojo implements GraphQLConfiguration
This class is the class that contains all parameters that needed for the GraphQLMojo, that is all parameters that are common to all generate code Mojos. The parameters from the generateServerCode are inherited from AbstractGenerateServerCodeMojo, and the parameters that are specific to the generateClientCode must be manually added here, as a class may not inherit from two superclasses.
This avoids to redeclare each common parameter in each Mojo, including its comment. When a comment is updated, only one update is necessary, instead of updating it in each Mojo.
Author:
etienne-sf