org.apache.maven.script.beanshell
Class BeanshellMojoAdapter

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

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

Mojo adapter for a Beanshell Mojo.

Version:
$Id: BeanshellMojoAdapter.java 293233 2005-10-03 04:24:11Z brett $
Author:
Brett Porter

Nested Class Summary
 
Nested classes inherited from class org.apache.maven.plugin.Mojo
 
Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BeanshellMojoAdapter(org.apache.maven.plugin.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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
 

Constructor Detail

BeanshellMojoAdapter

public BeanshellMojoAdapter(org.apache.maven.plugin.Mojo mojo,
                            bsh.Interpreter interpreter)
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getInterpreter

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


Copyright 2005 Apache Software Foundation. All Rights Reserved.