|
||||||||||
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,
bsh.Interpreter interpreter)
|
Method Summary | |
---|---|
void |
execute()
Perform whatever build-process behavior this Mojo implements. |
bsh.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, bsh.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.
execute
in interface Mojo
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 bsh.Interpreter getInterpreter()
getInterpreter
in interface org.codehaus.plexus.component.factory.bsh.BshComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |