Package org.bndly.schema.beans
Class ClientModelBeanGeneratorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.bndly.schema.beans.AbstractSchemaBasedBeanGeneratorMojo
-
- org.bndly.schema.beans.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 Summary
Fields Modifier and Type Field Description protected StringschemaBeanSourcePackageThe package name to use for looking schema bean interfaces.-
Fields inherited from class org.bndly.schema.beans.AbstractSchemaBasedBeanGeneratorMojo
importStateHolder, schemaExtensions, schemaProviderClass, schemaRoot, targetFolder, targetPackage
-
-
Constructor Summary
Constructors Constructor Description ClientModelBeanGeneratorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCodeGenerationWithSchema(org.bndly.schema.model.Schema schema, org.bndly.code.common.CodeGenerationContext ctx, File path)-
Methods inherited from class org.bndly.schema.beans.AbstractSchemaBasedBeanGeneratorMojo
execute, writeCodeToFile, writeCodeToFile, writeCodeToFile
-
-
-
-
Field Detail
-
schemaBeanSourcePackage
@Parameter protected String schemaBeanSourcePackage
The package name to use for looking schema bean interfaces.
-
-
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:
doCodeGenerationWithSchemain classAbstractSchemaBasedBeanGeneratorMojo- Throws:
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-