public static class GraphDatabaseShellServer.WorkingDirReplacer extends Object implements org.neo4j.shell.impl.BashVariableInterpreter.Replacer
BashVariableInterpreter.Replacer for the variable "w"/"W" which returns the current
working directory (Bash), i.e. the current node.| Constructor and Description |
|---|
WorkingDirReplacer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getReplacement(ShellServer server,
Session session)
Returns a string to replace something else.
|
public String getReplacement(ShellServer server, Session session) throws ShellException
org.neo4j.shell.impl.BashVariableInterpreter.ReplacergetReplacement in interface org.neo4j.shell.impl.BashVariableInterpreter.Replacerserver - the server which runs the interpretation.session - the environment of the interpretation.ShellException - if there should be some communication error.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.