Class ClientModelBeanGeneratorMojo

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

    @Mojo(name="generateClientModel")
    public class ClientModelBeanGeneratorMojo
    extends AbstractSchemaBasedBeanGeneratorMojo
    Generates Client Model implementations for Schema Beans
    • Field Detail

      • schemaBeanSourcePackage

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

      • ClientModelBeanGeneratorMojo

        public ClientModelBeanGeneratorMojo()
    • 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