Class GroovyScriptHelper

    • Constructor Detail

      • GroovyScriptHelper

        public GroovyScriptHelper​(Bindings bindings)
      • GroovyScriptHelper

        public GroovyScriptHelper​(Context context)
    • Method Detail

      • eval

        public Object eval​(String expr,
                           Bindings bindings)
                    throws Exception
        Description copied from interface: ScriptHelper
        Evaluate the given expression with the given bindings.
        Parameters:
        expr - the expression to evaluate
        bindings - the context bindings
        Returns:
        expression result
        Throws:
        Exception