org.codehaus.mojo.gwt
Class AbstractGWTMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.gwt.AbstractGWTMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompileMojo, ShellMojo, TestMojo

public abstract class AbstractGWTMojo
extends org.apache.maven.plugin.AbstractMojo

Abstract superclass for all Google Web Toolkit mojos.

Author:
Bob Allison

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractGWTMojo()
           
 
Method Summary
protected  void configure(GWTCommand gwt, boolean addTest)
           
protected  java.lang.String getHomePage()
          Get the name of the home page.
protected  java.lang.String getModuleName()
          Get the name of the GWT module.
protected  void requireGWTDirectory(java.lang.String goal)
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractGWTMojo

public AbstractGWTMojo()
Method Detail

getModuleName

protected java.lang.String getModuleName()
Get the name of the GWT module.

Returns:
The name of the GWT module

getHomePage

protected java.lang.String getHomePage()
Get the name of the home page.

Returns:
The name of the home page

requireGWTDirectory

protected void requireGWTDirectory(java.lang.String goal)
                            throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

configure

protected void configure(GWTCommand gwt,
                         boolean addTest)


Copyright © 2007. All Rights Reserved.