Class SchemaServiceImplGeneratorMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="generateServiceImpl")
    public class SchemaServiceImplGeneratorMojo
    extends AbstractSchemaBasedBeanGeneratorMojo
    Generates Service Layer Client Interfaces from Schema
    • Field Detail

      • generatedServiceApiPackage

        @Parameter
        protected String generatedServiceApiPackage
        The package name to use for looking generated service interfaces.
      • schemaBeanSourcePackage

        @Parameter
        protected String schemaBeanSourcePackage
        The package name to use for looking schema bean interfaces.
      • schemaRestBeanSourcePackage

        @Parameter
        protected String schemaRestBeanSourcePackage
        The package name to use for looking schema rest bean interfaces.
      • generatedModelImplPackage

        @Parameter
        protected String generatedModelImplPackage
        The package name to use for looking schema rest bean interfaces.
    • Constructor Detail

      • SchemaServiceImplGeneratorMojo

        public SchemaServiceImplGeneratorMojo()
    • Method Detail

      • doCodeGenerationWithSchema

        protected void doCodeGenerationWithSchema​(org.bndly.schema.model.Schema schema,
                                                  org.bndly.code.common.CodeGenerationContext ctx,
                                                  File path)
                                           throws IOException,
                                                  org.apache.maven.plugin.MojoExecutionException,
                                                  org.apache.maven.plugin.MojoFailureException
        Specified by:
        doCodeGenerationWithSchema in class AbstractSchemaBasedBeanGeneratorMojo
        Throws:
        IOException
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException