org.codehaus.gmaven.mojo
Class GroovyMojo
java.lang.Object
groovy.lang.GroovyObjectSupport
org.codehaus.gmaven.mojo.GroovyMojo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CleanMojo, InstallMojoSupport
public abstract class GroovyMojo
- extends groovy.lang.GroovyObjectSupport
- implements org.apache.maven.plugin.Mojo, org.apache.maven.plugin.ContextEnabled
Provides support for Maven 2 plugins implemented in Groovy.
- Version:
- $Id: GroovyMojo.java 85 2009-12-11 11:02:23Z user57 $
- Author:
- Jason Dillon
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, invokeMethod, setMetaClass, setProperty |
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 |
GroovyMojo
public GroovyMojo()
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class groovy.lang.GroovyObjectSupport
fail
protected void fail(Object msg)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
fail
protected void fail(Object msg,
Throwable cause)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
- Specified by:
setLog
in interface org.apache.maven.plugin.Mojo
getLog
public org.apache.maven.plugin.logging.Log getLog()
- Specified by:
getLog
in interface org.apache.maven.plugin.Mojo
getPluginContext
public Map getPluginContext()
- Specified by:
getPluginContext
in interface org.apache.maven.plugin.ContextEnabled
setPluginContext
public void setPluginContext(Map context)
- Specified by:
setPluginContext
in interface org.apache.maven.plugin.ContextEnabled
Copyright © 2006-2012 Codehaus. All Rights Reserved.