public static class Script.Curried extends Script
Script.Curried| Modifier | Constructor and Description |
|---|---|
protected |
Script.Curried(Script base,
Object[] args)
Creates a curried version of this script.
|
| Modifier and Type | Method and Description |
|---|---|
protected Scope.Frame |
createFrame(Object[] args)
Creates this script frame for evaluation.
|
boolean |
equals(Object obj) |
Object |
execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext. |
Object |
execute(JexlContext context,
Object... args)
Executes the script with the variables contained in the
supplied
JexlContext and a set of arguments corresponding to the
parameters used during parsing. |
int |
hashCode() |
callable, callable, checkCacheVersion, createInterpreter, curry, evaluate, getEngine, getLocalVariables, getParameters, getParsedText, getParsedText, getPragmas, getSourceText, getVariables, toStringprotected Scope.Frame createFrame(Object[] args)
ScriptcreateFrame in class Scriptargs - the arguments to bind to parameterspublic Object execute(JexlContext context)
ScriptJexlContext.execute in interface JexlScriptexecute in class Scriptcontext - A JexlContext containing variables.public Object execute(JexlContext context, Object... args)
ScriptJexlContext and a set of arguments corresponding to the
parameters used during parsing.execute in interface JexlScriptexecute in class Scriptcontext - A JexlContext containing variables.args - the argumentsCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.