org.codehaus.mojo.jpox
Class JpoxEnhancerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jpox.AbstractJpoxMojo
          extended by org.codehaus.mojo.jpox.JpoxEnhancerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JpoxEnhancerMojo
extends AbstractJpoxMojo


Field Summary
 
Fields inherited from class org.codehaus.mojo.jpox.AbstractJpoxMojo
classes, pluginArtifacts
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JpoxEnhancerMojo()
           
 
Method Summary
protected  void executeJpoxTool(List pluginArtifacts, URL log4jProperties, List files)
          Template method expected to be implemented by extensions.
protected  String getToolName()
          Returns the Jpox tool name being invoked by this plugin's execution.
 
Methods inherited from class org.codehaus.mojo.jpox.AbstractJpoxMojo
execute, findMappingFiles, getUniqueClasspathElements
 
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

JpoxEnhancerMojo

public JpoxEnhancerMojo()
Method Detail

executeJpoxTool

protected void executeJpoxTool(List pluginArtifacts,
                               URL log4jProperties,
                               List files)
                        throws org.codehaus.plexus.util.cli.CommandLineException,
                               org.apache.maven.plugin.MojoExecutionException
Template method expected to be implemented by extensions. This acts as hook to invoke custom Jpox tool.

Specified by:
executeJpoxTool in class AbstractJpoxMojo
Throws:
org.codehaus.plexus.util.cli.CommandLineException
org.apache.maven.plugin.MojoExecutionException
See Also:
AbstractJpoxMojo.executeJpoxTool(java.util.List, java.net.URL, java.util.List)

getToolName

protected String getToolName()
Returns the Jpox tool name being invoked by this plugin's execution.

Specified by:
getToolName in class AbstractJpoxMojo
Returns:
Jpox tool/utility name being invoked.
See Also:
AbstractJpoxMojo.getToolName()


Copyright © 2011 Codehaus. All Rights Reserved.