|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScriptExecutor
Helper for executing scripts
Method Summary | ||
---|---|---|
Object |
eval(String script)
Executes the given script |
|
Object |
eval(String script,
javax.script.Bindings bindings)
Executes the given script with the given Bindings |
|
|
eval(String script,
javax.script.Bindings bindings,
Class<T> returnType)
Executes the given script with the given Bindings and the expected type of the result |
|
|
eval(String script,
Class<T> returnType)
Executes the given script and the expected type of the result |
|
Object |
eval(String script,
Map<String,Object> arguments)
Executes the given script with the given arguments |
|
|
eval(String script,
Map<String,Object> arguments,
Class<T> returnType)
Executes the given script with the given arguments and the expected type of the result |
Method Detail |
---|
Object eval(String script)
script
- script which has to be executed
Object eval(String script, Map<String,Object> arguments)
script
- script which has to be executedarguments
- current arguments
Object eval(String script, javax.script.Bindings bindings)
Bindings
script
- script which has to be executedbindings
- current bindings
<T> T eval(String script, Class<T> returnType)
script
- script which has to be executedreturnType
- type of the result
<T> T eval(String script, Map<String,Object> arguments, Class<T> returnType)
script
- script which has to be executedarguments
- current argumentsreturnType
- type of the result
<T> T eval(String script, javax.script.Bindings bindings, Class<T> returnType)
Bindings
and the expected type of the result
script
- script which has to be executedbindings
- current bindingsreturnType
- type of the result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |