org.elasticsearch.script.groovy
Class GroovyScriptEngineService.GroovyExecutableScript

java.lang.Object
  extended by org.elasticsearch.script.groovy.GroovyScriptEngineService.GroovyExecutableScript
All Implemented Interfaces:
org.elasticsearch.script.ExecutableScript
Enclosing class:
GroovyScriptEngineService

public static class GroovyScriptEngineService.GroovyExecutableScript
extends java.lang.Object
implements org.elasticsearch.script.ExecutableScript


Constructor Summary
GroovyScriptEngineService.GroovyExecutableScript(groovy.lang.Script script)
           
 
Method Summary
 java.lang.Object run()
           
 void setNextVar(java.lang.String name, java.lang.Object value)
           
 java.lang.Object unwrap(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyScriptEngineService.GroovyExecutableScript

public GroovyScriptEngineService.GroovyExecutableScript(groovy.lang.Script script)
Method Detail

setNextVar

public void setNextVar(java.lang.String name,
                       java.lang.Object value)
Specified by:
setNextVar in interface org.elasticsearch.script.ExecutableScript

run

public java.lang.Object run()
Specified by:
run in interface org.elasticsearch.script.ExecutableScript

unwrap

public java.lang.Object unwrap(java.lang.Object value)
Specified by:
unwrap in interface org.elasticsearch.script.ExecutableScript