org.elasticsearch.script.mvel
Class MvelScriptEngineService.MvelExecutableScript
java.lang.Object
org.elasticsearch.script.mvel.MvelScriptEngineService.MvelExecutableScript
- All Implemented Interfaces:
- ExecutableScript
- Enclosing class:
- MvelScriptEngineService
public static class MvelScriptEngineService.MvelExecutableScript
- extends Object
- implements ExecutableScript
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MvelScriptEngineService.MvelExecutableScript
public MvelScriptEngineService.MvelExecutableScript(Object script,
Map vars)
setNextVar
public void setNextVar(String name,
Object value)
- Specified by:
setNextVar
in interface ExecutableScript
run
public Object run()
- Description copied from interface:
ExecutableScript
- Executes the script.
- Specified by:
run
in interface ExecutableScript
unwrap
public Object unwrap(Object value)
- Description copied from interface:
ExecutableScript
- Unwraps a possible script value. For example, when passing vars and expecting the returned value to
be part of the vars.
- Specified by:
unwrap
in interface ExecutableScript
Copyright © 2009-2012. All Rights Reserved.