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, toString
protected Scope.Frame createFrame(Object[] args)
Script
createFrame
in class Script
args
- the arguments to bind to parameterspublic Object execute(JexlContext context)
Script
JexlContext
.execute
in interface JexlScript
execute
in class Script
context
- A JexlContext containing variables.public Object execute(JexlContext context, Object... args)
Script
JexlContext
and a set of arguments corresponding to the
parameters used during parsing.execute
in interface JexlScript
execute
in class Script
context
- A JexlContext containing variables.args
- the argumentsCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.