net.sf.stitch.crud
Class CrudMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.sf.stitch.crud.CrudMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CrudMojo
extends org.apache.maven.plugin.AbstractMojo

Generates a CRUD interface for Entity Beans.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CrudMojo()
           
 
Method Summary
 void execute()
          Creates a basic CRUD interface for the specified entity classes.
 void generate(java.util.List<CrudEntity> entityClassList)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrudMojo

public CrudMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Creates a basic CRUD interface for the specified entity classes.

Throws:
org.apache.maven.plugin.MojoExecutionException

generate

public void generate(java.util.List<CrudEntity> entityClassList)
              throws java.io.IOException,
                     java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 2007. All Rights Reserved.