org.codehaus.groovy.maven.plugin
Class ComponentMojoSupport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.groovy.maven.plugin.MojoSupport
org.codehaus.groovy.maven.plugin.ProviderMojoSupport
org.codehaus.groovy.maven.plugin.ComponentMojoSupport
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Direct Known Subclasses:
- CompilerMojoSupport, ConsoleMojo, ExecuteMojo, ShellMojo
public abstract class ComponentMojoSupport
- extends ProviderMojoSupport
Support for Mojo implementations which delegate to a feature component.
- Version:
- $Id: ComponentMojoSupport.java 11362 2008-03-31 17:36:12Z user57 $
- Author:
- Jason Dillon
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
ComponentMojoSupport
protected ComponentMojoSupport(java.lang.String key)
feature
protected Feature feature()
throws java.lang.Exception
- Throws:
java.lang.Exception
feature
protected Feature feature(java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
doExecute
protected void doExecute()
throws java.lang.Exception
- Specified by:
doExecute
in class MojoSupport
- Throws:
java.lang.Exception
configure
protected void configure(Configuration context)
throws java.lang.Exception
- Throws:
java.lang.Exception
process
protected abstract void process(Component component)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006-2009 Codehaus. All Rights Reserved.