org.apache.maven.script.beanshell
Class BeanshellMojoAdapter

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.script.beanshell.BeanshellMojoAdapter
All Implemented Interfaces:
ContextEnabled, Mojo, org.codehaus.plexus.component.factory.bsh.BshComponent

public class BeanshellMojoAdapter
extends AbstractMojo
implements org.codehaus.plexus.component.factory.bsh.BshComponent

Mojo adapter for a Beanshell Mojo.

Version:
$Id: BeanshellMojoAdapter.java 640549 2008-03-24 20:05:11Z bentmann $
Author:
Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BeanshellMojoAdapter(Mojo mojo, bsh.Interpreter interpreter)
           
 
Method Summary
 void execute()
           
 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

BeanshellMojoAdapter

public BeanshellMojoAdapter(Mojo mojo,
                            bsh.Interpreter interpreter)
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Specified by:
execute in interface Mojo
Throws:
MojoExecutionException
MojoFailureException

getInterpreter

public bsh.Interpreter getInterpreter()
Specified by:
getInterpreter in interface org.codehaus.plexus.component.factory.bsh.BshComponent


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.