Class ScriptExecutor


  • public class ScriptExecutor
    extends java.lang.Object
    Script interpretor for ProM. The class provides a wrapper around the Java BSH Interpreter to initialize all available plugins from the .ProM user directory in an Interpreter. This interpreter can the be used to interpret Java code at run-time against the plugins, which allows for scripted execution of ProM plugins.
    Author:
    dfahland and others
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptExecutor​(org.processmining.framework.plugin.PluginContext context)
      Initialize a new interpreter with all available plugins.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(java.lang.String name, java.lang.Object value)  
      void execute​(java.lang.String script)
      Execute a script in the interpreter.
      java.util.List<Signature> getAvailablePlugins()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait