public abstract class GroovyMojo
extends groovy.lang.GroovyObjectSupport
implements org.apache.maven.plugin.Mojo, org.apache.maven.plugin.ContextEnabled
Constructor and Description |
---|
GroovyMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
fail(Object msg) |
protected void |
fail(Object msg,
Throwable cause) |
org.apache.maven.plugin.logging.Log |
getLog() |
Map |
getPluginContext() |
Object |
getProperty(String property) |
void |
setLog(org.apache.maven.plugin.logging.Log log) |
void |
setPluginContext(Map context) |
getMetaClass, invokeMethod, setMetaClass, setProperty
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.GroovyObjectSupport
protected void fail(Object msg) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void fail(Object msg, Throwable cause) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void setLog(org.apache.maven.plugin.logging.Log log)
setLog
in interface org.apache.maven.plugin.Mojo
public org.apache.maven.plugin.logging.Log getLog()
getLog
in interface org.apache.maven.plugin.Mojo
public Map getPluginContext()
getPluginContext
in interface org.apache.maven.plugin.ContextEnabled
public void setPluginContext(Map context)
setPluginContext
in interface org.apache.maven.plugin.ContextEnabled
Copyright © 2006-2013 Codehaus. All Rights Reserved.