Class ScriptExecutor
java.lang.Object
org.processmining.contexts.scripting.ScriptExecutor
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
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Meant to provide diagnostic information in case a script fails. -
Constructor Summary
ConstructorDescriptionScriptExecutor
(PluginContext context) Initialize a new interpreter with all available plugins. -
Method Summary
-
Constructor Details
-
ScriptExecutor
Initialize a new interpreter with all available plugins.- Parameters:
context
-- Throws:
ScriptExecutor.ScriptExecutionException
-
-
Method Details
-
execute
Execute a script in the interpreter.- Parameters:
script
-- Throws:
ScriptExecutor.ScriptExecutionException
Throwable
-
bind
-
getAvailablePlugins
-