Class BeanshellMojoAdapter

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

public class BeanshellMojoAdapter extends org.apache.maven.plugin.AbstractMojo implements org.codehaus.plexus.component.factory.bsh.BshComponent
Mojo adapter for a Beanshell Mojo.
Author:
Brett Porter
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    BeanshellMojoAdapter​(org.apache.maven.plugin.Mojo mojo, bsh.Interpreter interpreter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    bsh.Interpreter
     

    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 Details

    • BeanshellMojoAdapter

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

    • 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