public interface ScriptExecutor
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(java.util.Map<java.lang.String,java.lang.Object> arguments)
Executes the script with the given arguments.
|
java.lang.Object execute(java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.lang.Exception
arguments
- Map of arguments to pass to the script.java.lang.Exception
- Whatever native exception the script engine
produces. (When called from the connector framework, this will
subsequently be wrapped in a ConnectorException)