org.apache.maven.plugin.plugin
Class AbstractGeneratorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.plugin.AbstractGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
DescriptorGeneratorMojo, XdocGeneratorMojo

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

Version:
$Id: AbstractGeneratorMojo.java 294957 2005-10-05 00:33:03Z jdcasey $
Author:
Jason van Zyl

Field Summary
protected  java.lang.String goalPrefix
          The goal prefix that will appear before the ":".
protected  org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner
           
protected  org.apache.maven.project.MavenProject project
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractGeneratorMojo()
           
 
Method Summary
protected abstract  org.apache.maven.tools.plugin.generator.Generator createGenerator()
           
 void execute()
           
protected abstract  java.io.File getOutputDirectory()
           
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project

mojoScanner

protected org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner

goalPrefix

protected java.lang.String goalPrefix
The goal prefix that will appear before the ":".

Constructor Detail

AbstractGeneratorMojo

public AbstractGeneratorMojo()
Method Detail

getOutputDirectory

protected abstract java.io.File getOutputDirectory()

createGenerator

protected abstract org.apache.maven.tools.plugin.generator.Generator createGenerator()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


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