org.neo4j.server.scripting
Interface ScriptExecutor

All Known Implementing Classes:
GroovyScriptExecutor, JavascriptExecutor

public interface ScriptExecutor

Common abstraction for compiled and runtime-evaluated scripts. This represents a single threaded, stateful, script session.


Nested Class Summary
static interface ScriptExecutor.Factory
           
 
Method Summary
 Object execute(Map<String,Object> variables)
          Execute the contained script.
 

Method Detail

execute

Object execute(Map<String,Object> variables)
               throws EvaluationException
Execute the contained script.

Parameters:
variables - Is variables that should be available to the script.
Returns:
Throws:
EvaluationException


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.