public abstract class ScriptExecutor extends Object
| Constructor and Description |
|---|
ScriptExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String line,
Session session,
Output out)
Executes a groovy script (with arguments) defined in
line. |
public void execute(String line, Session session, Output out) throws Exception
line.line - the line which defines the groovy script with arguments.session - the Session to include as argument in groovy.out - the Output to include as argument in groovy.ShellException - if the execution of a groovy script fails.ExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.