public class BeanshellMojoAdapter
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.component.factory.bsh.BshComponent
Modifier and Type | Field and Description |
---|---|
private bsh.Interpreter |
interpreter |
private org.apache.maven.plugin.Mojo |
mojo |
Constructor and Description |
---|
BeanshellMojoAdapter(org.apache.maven.plugin.Mojo mojo,
bsh.Interpreter interpreter) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
bsh.Interpreter |
getInterpreter() |
private org.apache.maven.plugin.Mojo mojo
private bsh.Interpreter interpreter
public BeanshellMojoAdapter(org.apache.maven.plugin.Mojo mojo, bsh.Interpreter interpreter)
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public bsh.Interpreter getInterpreter()
getInterpreter
in interface org.codehaus.plexus.component.factory.bsh.BshComponent