Class ScriptExecutionManager

    • Constructor Detail

      • ScriptExecutionManager

        public ScriptExecutionManager()
    • Method Detail

      • evaluate

        public Object evaluate​(Script script,
                               Bindings bindings)
                        throws ScriptException
        Evaluate the script using the given bindings.
        Parameters:
        script - the script to evaluate
        bindings - the context-aware bindings
        Returns:
        the result object
        Throws:
        ScriptException - if an error occurs in script.