|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.script.beanshell.BeanshellMojoAdapter
public class BeanshellMojoAdapter
Mojo adapter for a Beanshell Mojo.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
BeanshellMojoAdapter(Mojo mojo,
Interpreter interpreter)
|
Method Summary | |
---|---|
void |
execute()
Perform whatever build-process behavior this Mojo implements. |
Interpreter |
getInterpreter()
|
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 |
---|
public BeanshellMojoAdapter(Mojo mojo, Interpreter interpreter)
Method Detail |
---|
public void execute() throws MojoExecutionException, MojoFailureException
Mojo
Mojo
implements.
Mojo
inside the Maven
system, and allows
the Mojo
to communicate errors.
MojoExecutionException
- if an unexpected problem occurs.
Throwing this exception causes a "BUILD ERROR" message to be displayed.
MojoFailureException
- if an expected problem (such as a compilation failure) occurs.
Throwing this exception causes a "BUILD FAILURE" message to be displayed.public Interpreter getInterpreter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |