org.apache.myfaces.buildtools.maven2.plugin.xrts
Class AbstractGenerateSourcesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.myfaces.buildtools.maven2.plugin.xrts.AbstractGenerateSourcesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
GenerateSourcesMojo, GenerateTestSourcesMojo

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

Version:
$Id$

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractGenerateSourcesMojo()
           
 
Method Summary
protected abstract  void addCompileSourceRoot()
           
 void execute()
          Execute the Mojo.
protected abstract  java.lang.String[] getDefaultLocales()
           
protected abstract  java.lang.String[] getExcludes()
           
protected abstract  java.io.File getSourceDirectory()
           
protected abstract  java.io.File getTargetDirectory()
           
protected abstract  java.lang.String getTargetType()
           
 
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

AbstractGenerateSourcesMojo

public AbstractGenerateSourcesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Execute the Mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException

getTargetType

protected abstract java.lang.String getTargetType()

getDefaultLocales

protected abstract java.lang.String[] getDefaultLocales()

getExcludes

protected abstract java.lang.String[] getExcludes()

getSourceDirectory

protected abstract java.io.File getSourceDirectory()

getTargetDirectory

protected abstract java.io.File getTargetDirectory()

addCompileSourceRoot

protected abstract void addCompileSourceRoot()
                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.