public class Variables extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_KEY |
static String |
PROMPT_KEY
The session key for the prompt key, just like in Bash.
|
static String |
STACKTRACES_KEY
The session key for whether or not to print stack traces for exceptions.
|
static String |
TITLE_KEYS_KEY
When displaying node ids this variable is also used for getting an
appropriate property value from that node to display as the title.
|
static String |
TITLE_MAX_LENGTH
The maximum length of titles to be displayed.
|
static String |
TX_COUNT |
static String |
WORKING_DIR_KEY
The
Session key to use to store the current node and working
directory (i.e. |
| Constructor and Description |
|---|
Variables() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkIsValidVariableName(String key) |
static boolean |
isIdentifier(String key) |
public static final String WORKING_DIR_KEY
Session key to use to store the current node and working
directory (i.e. the path which the client got to it).public static final String CURRENT_KEY
public static final String TX_COUNT
public static final String PROMPT_KEY
public static final String STACKTRACES_KEY
public static final String TITLE_KEYS_KEY
public static final String TITLE_MAX_LENGTH
public static void checkIsValidVariableName(String key) throws ShellException
key - a variable nameShellException - if key doesn't match a valid identifier namepublic static boolean isIdentifier(String key)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.