| Modifier and Type | Field and Description |
|---|---|
static int |
CONSOLE_WIDTH |
| Constructor and Description |
|---|
Man() |
| Modifier and Type | Method and Description |
|---|---|
Continuation |
execute(AppCommandParser parser,
Session session,
Output out)
The actual code for the application.
|
static Collection<String> |
getAvailableCommands(ShellServer server)
Lists apps available at the server.
|
String |
getDescription() |
static void |
printHelpString(Output out,
ShellServer server,
boolean list)
Utility method for getting a short help string for a server.
|
public static final int CONSOLE_WIDTH
public Continuation execute(AppCommandParser parser, Session session, Output out) throws Exception
Appparser - holds the options (w/ or w/o values) as well as arguments.session - the client session (sort of like the environment
for the execution).out - the output channel for the execution, just like System.out.Exception - if the execution fails.public String getDescription()
getDescription in interface AppgetDescription in class org.neo4j.shell.impl.AbstractApppublic static void printHelpString(Output out, ShellServer server, boolean list) throws RemoteException
out - the outputserver - the server to ask forlist - if true, a list of the commands is printedRemoteException - in case of remoting errorspublic static Collection<String> getAvailableCommands(ShellServer server)
server - the ShellServer.AppShellServer.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.